Commit graph

20 commits

Author SHA1 Message Date
Ashwin Bharambe
9487ad8294
API Updates (#73)
* API Keys passed from Client instead of distro configuration

* delete distribution registry

* Rename the "package" word away

* Introduce a "Router" layer for providers

Some providers need to be factorized and considered as thin routing
layers on top of other providers. Consider two examples:

- The inference API should be a routing layer over inference providers,
  routed using the "model" key
- The memory banks API is another instance where various memory bank
  types will be provided by independent providers (e.g., a vector store
  is served by Chroma while a keyvalue memory can be served by Redis or
  PGVector)

This commit introduces a generalized routing layer for this purpose.

* update `apis_to_serve`

* llama_toolchain -> llama_stack

* Codemod from llama_toolchain -> llama_stack

- added providers/registry
- cleaned up api/ subdirectories and moved impls away
- restructured api/api.py
- from llama_stack.apis.<api> import foo should work now
- update imports to do llama_stack.apis.<api>
- update many other imports
- added __init__, fixed some registry imports
- updated registry imports
- create_agentic_system -> create_agent
- AgenticSystem -> Agent

* Moved some stuff out of common/; re-generated OpenAPI spec

* llama-toolchain -> llama-stack (hyphens)

* add control plane API

* add redis adapter + sqlite provider

* move core -> distribution

* Some more toolchain -> stack changes

* small naming shenanigans

* Removing custom tool and agent utilities and moving them client side

* Move control plane to distribution server for now

* Remove control plane from API list

* no codeshield dependency randomly plzzzzz

* Add "fire" as a dependency

* add back event loggers

* stack configure fixes

* use brave instead of bing in the example client

* add init file so it gets packaged

* add init files so it gets packaged

* Update MANIFEST

* bug fix

---------

Co-authored-by: Hardik Shah <hjshah@fb.com>
Co-authored-by: Xi Yan <xiyan@meta.com>
Co-authored-by: Ashwin Bharambe <ashwin@meta.com>
2024-09-17 19:51:35 -07:00
Xi Yan
f294eac5f5 Bump version to 0.0.17 2024-09-16 13:10:05 -07:00
Ashwin Bharambe
53ab18d6bb Bump version to 0.0.16 2024-09-14 08:09:45 -07:00
Ashwin Bharambe
7a283ea076 Bump version to 0.0.15 2024-09-13 17:23:12 -07:00
Xi Yan
16635508bd Bump version to 0.0.14 2024-09-12 15:11:15 -07:00
Ashwin Bharambe
6c69e09c6a Bump version to 0.0.13 2024-09-04 23:10:38 -07:00
Ashwin Bharambe
01d971bda6 Bump version to 0.0.12 2024-09-03 23:24:02 -07:00
Ashwin Bharambe
f802d481d9 Bump version to 0.0.11 2024-09-03 22:41:29 -07:00
Ashwin Bharambe
a8b9541f19 Bump version to 0.0.10 2024-08-27 04:19:27 -07:00
Ashwin Bharambe
f812648aca Bump version to 0.0.9 2024-08-24 09:45:01 -07:00
Ashwin Bharambe
c1a82ea8cd Add a script for install a pip wheel from a presigned url 2024-08-23 12:18:51 -07:00
Ashwin Bharambe
57881c08c1 Bump version to 0.0.8 2024-08-19 20:12:01 -07:00
Ashwin Bharambe
b3da6b8afb Bump version to 0.0.7 2024-08-19 16:27:36 -07:00
Ashwin Bharambe
23de941424 Bump version to 0.0.6 2024-08-19 14:12:18 -07:00
Hardik Shah
94dfa293a6 Bump version to 0.0.5 2024-08-13 15:23:57 -07:00
dltn
898cd5b352 Bump version to 0.0.4 2024-08-08 15:24:45 -07:00
Ashwin Bharambe
dd15671f7f Bump version to 0.0.3 2024-08-08 13:40:03 -07:00
Ashwin Bharambe
404af06e02 Bump version to 0.0.2 2024-07-29 23:56:41 -07:00
Ashwin Bharambe
f7e053e3ba Updates to setup and requirements for PyPI 2024-07-23 13:28:30 -07:00
Ashwin Bharambe
5d5acc8ed5 Initial commit 2024-07-23 08:32:33 -07:00