Commit graph

443 commits

Author SHA1 Message Date
Kai Wu
9ed1c50990 add more to safety 2024-11-05 15:06:27 -08:00
Kai Wu
0f08f77565 Merge branch 'main' into docs_improvement 2024-11-05 11:13:24 -08:00
Justin Lee
5f5220b8fc git commit created a dir for zero-hero 2024-11-05 11:11:27 -08:00
Kai Wu
36d3520bf2 refactor notebooks 2024-11-05 11:10:08 -08:00
Ashwin Bharambe
8de845a96d Kill everything from tests/ 2024-11-04 22:10:16 -08:00
Ashwin Bharambe
f08efc23a6 Kill non-integration older tests 2024-11-04 22:06:34 -08:00
Steve Grubb
122793ab92
Correct a traceback in vllm (#366)
File "/usr/local/lib/python3.10/site-packages/llama_stack/providers/adapters/inference/vllm/vllm.py", line 136, in _stream_chat_completion
async for chunk in process_chat_completion_stream_response(
TypeError: process_chat_completion_stream_response() takes 2 positional arguments but 3 were given

This corrects the error by deleting the request variable
2024-11-04 20:49:35 -08:00
Ashwin Bharambe
3ca294c359 Bump version to 0.0.49 2024-11-04 20:38:00 -08:00
Ashwin Bharambe
a81178f1f5 The server now depends on SQLite by default 2024-11-04 20:35:53 -08:00
Ashwin Bharambe
9a57a009ee Need to await for get_object_from_identifier() now 2024-11-04 20:33:12 -08:00
Ashwin Bharambe
7cf4c905f3 add support for remote providers in tests 2024-11-04 20:30:46 -08:00
Ashwin Bharambe
0763a0b85f Fix for the fix! 2024-11-04 20:06:01 -08:00
Ashwin Bharambe
fb2678b134 Fix shield_type and routing table breakage 2024-11-04 19:57:15 -08:00
Sanyam Bhutani
6d3769aedd Update tool_Calling101.ipynb 2024-11-04 19:35:31 -08:00
Sanyam Bhutani
800a9dc134 Create tool_Calling101.ipynb 2024-11-04 19:34:51 -08:00
Sanyam Bhutani
579cb110b4 add image 2024-11-04 19:28:37 -08:00
Sanyam Bhutani
d37853074b Merge branch 'docs_improvement' of https://github.com/meta-llama/llama-stack into docs_improvement 2024-11-04 19:11:53 -08:00
Sanyam Bhutani
19fa3bde97 push 2024-11-04 19:11:37 -08:00
Xi Yan
657de08f04 precommit 2024-11-04 19:01:56 -08:00
Xi Yan
8927da6566 instructions on contributing to readthedocs 2024-11-04 18:58:07 -08:00
Xi Yan
4d60ab8531 Bump version to 0.0.48 2024-11-04 17:37:32 -08:00
Ashwin Bharambe
ffedb81c11
Significantly simpler and malleable test setup (#360)
* Significantly simpler and malleable test setup

* convert memory tests

* refactor fixtures and add support for composable fixtures

* Fix memory to use the newer fixture organization

* Get agents tests working

* Safety tests work

* yet another refactor to make this more general

now it accepts --inference-model, --safety-model options also

* get multiple providers working for meta-reference (for inference + safety)

* Add README.md

---------

Co-authored-by: Ashwin Bharambe <ashwin@meta.com>
2024-11-04 17:36:43 -08:00
Kai Wu
08ccf47ff1 Merge branch 'main' into docs_improvement 2024-11-04 17:25:33 -08:00
Dinesh Yeduguru
663883cc29
persist registered objects with distribution (#354)
* persist registered objects with distribution

* linter fixes

* comment

* use annotate and field discriminator

* workign tests

* donot use global state

* precommit failures fixed

* add back Any

* fix imports

* remove unnecessary changes in ollama

* precommit failures fixed

* make kvstore configurable for dist and rename registry

* add comment about registry list return

* fix linter errors

* use registry to hydrate

* remove debug print

* linter fixes

* remove kvstore.db

* rename distribution_registry_store

---------

Co-authored-by: Dinesh Yeduguru <dineshyv@fb.com>
2024-11-04 17:25:06 -08:00
Kai Wu
556ec85d63 change safety101 agent101 to notebook 2024-11-04 17:22:23 -08:00
Kai Wu
ddf9a2b62c change safety101 agent101 to notebook 2024-11-04 17:19:21 -08:00
Sanyam Bhutani
af8453436e Update Memory101.ipynb 2024-11-04 17:17:26 -08:00
Sanyam Bhutani
09cd99fc2d Create Memory101.ipynb 2024-11-04 17:16:23 -08:00
Dinesh Yeduguru
c9bf1d7d0b
pgvector fixes (#369)
Co-authored-by: Dinesh Yeduguru <dineshyv@fb.com>
2024-11-04 17:01:09 -08:00
Xi Yan
c810a4184d
[docs] update documentations (#356)
* move docs -> source

* Add files via upload

* mv image

* Add files via upload

* colocate iOS setup doc

* delete image

* Add files via upload

* fix

* delete image

* Add files via upload

* Update developer_cookbook.md

* toctree

* wip subfolder

* docs update

* subfolder

* updates

* name

* updates

* index

* updates

* refactor structure

* depth

* docs

* content

* docs

* getting started

* distributions

* fireworks

* fireworks

* update

* theme

* theme

* theme

* pdj theme

* pytorch theme

* css

* theme

* agents example

* format

* index

* headers

* copy button

* test tabs

* test tabs

* fix

* tabs

* tab

* tabs

* sphinx_design

* quick start commands

* size

* width

* css

* css

* download models

* asthetic fix

* tab format

* update

* css

* width

* css

* docs

* tab based

* tab

* tabs

* docs

* style

* image

* css

* color

* typo

* update docs

* missing links

* list templates

* links

* links update

* troubleshooting

* fix

* distributions

* docs

* fix table

* kill llamastack-local-gpu/cpu

* Update index.md

* Update index.md

* mv ios_setup.md

* Update ios_setup.md

* Add remote_or_local.gif

* Update ios_setup.md

* release notes

* typos

* Add ios_setup to index

* nav bar

* hide torctree

* ios image

* links update

* rename

* rename

* docs

* rename

* links

* distributions

* distributions

* distributions

* distributions

* remove release

* remote

---------

Co-authored-by: dltn <6599399+dltn@users.noreply.github.com>
Co-authored-by: Ashwin Bharambe <ashwin.bharambe@gmail.com>
2024-11-04 16:52:38 -08:00
Kai Wu
87904d329f add more about safety and agent docs 2024-11-04 16:23:46 -08:00
Kai Wu
d61f328ffb Merge branch 'docs_improvement' of github.com:meta-llama/llama-stack into docs_improvement 2024-11-04 16:22:44 -08:00
Sanyam Bhutani
f8da92900e Create zero_to_getting_started.ipynb 2024-11-04 16:08:55 -08:00
Justin Lee
d200a6b002 beef up quickstart 2024-11-04 14:56:03 -08:00
Kai Wu
1422d631a8 Merge branch 'main' into docs_improvement 2024-11-04 12:40:18 -08:00
Kai Wu
2898a9bc9e prompt guide added 2024-11-04 12:38:44 -08:00
Dinesh Yeduguru
ac93dd89cf
fix bedrock impl (#359)
* fix bedrock impl

* fix linter errors

* fix return type and remove debug print
2024-11-03 07:32:30 -08:00
Justin Lee
4f31f1b4cc added few-shot-guide 2024-11-01 14:14:35 -07:00
Justin Lee
78083c4e0a removed unnecessary files 2024-11-01 13:56:54 -07:00
Justin Lee
43289c36e1 added todo 2024-11-01 13:55:30 -07:00
Justin Lee
b41abff4fb minor enhancement md 2024-11-01 13:50:24 -07:00
Justin Lee
1794ebc627 added cloud-local-inference-guide 2024-11-01 13:39:11 -07:00
Ashwin Bharambe
bf4f97a2e1 Fix vLLM adapter chat_completion signature 2024-11-01 13:09:03 -07:00
Justin Lee
46763bc001 quick fix on title 2024-11-01 11:46:35 -07:00
Justin Lee
ed70e140eb added streaming guide 2024-11-01 11:41:03 -07:00
Dalton Flanagan
adecb2a2d3 update for message parsing on ios 2024-11-01 14:37:19 -04:00
Justin Lee
bf16d7729f wrote guide for chat completion 2024-11-01 11:33:15 -07:00
Justin Lee
b514f1ec3a quickstart guide (might be dated) 2024-10-31 15:49:05 -07:00
Justin Lee
703d7ebb6e adding a few more inference examples 2024-10-31 15:46:47 -07:00
Justin Lee
626dffa0d9 added simple inferences 2024-10-31 15:45:47 -07:00