RFC-0001-The-Llama-Stack (#8)

* RFC-0001-The-Llama-Stack

* Add OpenAPI generation utility, update SPEC to reflect latest types

* First cut at an observability API

* llama3_1 -> llama3

---------

Co-authored-by: Ashwin Bharambe <ashwin.bharambe@gmail.com>
This commit is contained in:
raghotham 2024-08-20 19:01:18 -07:00 committed by GitHub
parent 57881c08c1
commit 2232bfa8b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 9177 additions and 10 deletions

View file

@ -13,7 +13,7 @@ from .datatypes import * # noqa: F403
class MemoryBanks(Protocol):
@webmethod(route="/memory_banks/create")
def post_create_memory_bank(
def create_memory_bank(
self,
bank_id: str,
bank_name: str,
@ -33,14 +33,14 @@ class MemoryBanks(Protocol):
) -> str: ...
@webmethod(route="/memory_bank/insert")
def post_insert_memory_documents(
def insert_memory_documents(
self,
bank_id: str,
documents: List[MemoryBankDocument],
) -> None: ...
@webmethod(route="/memory_bank/update")
def post_update_memory_documents(
def update_memory_documents(
self,
bank_id: str,
documents: List[MemoryBankDocument],