don't compute embeddings for names and other fixes see description (#126)

* serialize tools - 2

* fix int tests

* fix int test

* fix unit tests
This commit is contained in:
Adil Hafeez 2024-10-05 19:25:16 -07:00 committed by GitHub
parent 0e5ea3d6db
commit 2a747df7c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 125 additions and 86 deletions

View file

@ -10,3 +10,5 @@ class Message(BaseModel):
class ChatMessage(BaseModel):
messages: list[Message]
tools: List[Dict[str, Any]]
# todo: make it default none
metadata: Dict[str, str] = {}