Replies: 2 comments 4 replies
-
since the discord link is expired… TIA |
Beta Was this translation helpful? Give feedback.
4 replies
-
https://discord.com/invite/MEFVXUvsuy for convenience |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We had an ask from a user on discord who wanted full control over chunking and embeddings but still wanted to leverage the rest of
astra-assistants
. I decided to build this functionality on the client leveraging Assistant's tool (formerly function calling) capabilities.We're thinking of these as astra-assistants built-in tools. They will be a collection of curated tools can be used with astra-assistants, with openai assistants directly, or even with the completions API with some additional boiler plate. There are similar concepts in langchain and cohere's cohere-toolkit seems to be working on something similar but I was surprised to find that this concept doesn't exist for Assistants API (or maybe I just haven't been able to find it?).
Our implementation is modular and re-usable based on an abstract base class: tool_interface and a custom AssistantEventHandler for streaming called AstraEventHandler. We hope implementing this class will be relatively straight forward and encourage community contributions.
We just shipped a couple of built-in tools as part of the
astra-assistants
client (astradb data-api and support for code interpreter using https://e2b.dev/docs/sandbox/api/metadata).Built-in tools can be used with assistants by:
Here's an end to end example of using the astra data-api tool.
Finally, Built-In tools might not be the right name, open to ideas.
Beta Was this translation helpful? Give feedback.
All reactions