julep-ai / julep

A new DSL and server for AI agents and multi-step tasks
https://julep.ai
Apache License 2.0
2.62k stars 911 forks source link

feat(agents-api): Add embeddings to doc get/list response #578

Closed HamadaSalhab closed 1 month ago

HamadaSalhab commented 1 month ago

[!IMPORTANT] Add embeddings to document retrieval and listing responses in Docs.py, get_doc.py, list_docs.py, and models.tsp.

  • Behavior:
    • Add embeddings field to Doc model in Docs.py and models.tsp.
    • Include embeddings in the response of get_doc() in get_doc.py and list_docs() in list_docs.py.
  • Queries:
    • Update get_query in get_doc.py to retrieve embedding data.
    • Update get_query in list_docs.py to include embedding data.
  • Models:
    • Modify Doc model in models.tsp to include optional embeddings field with read visibility.

This description was created by Ellipsis for 70eebc4724791cb1148fab372dee766c86064df8. It will automatically update as commits are pushed.