really clean/readable code to use assistants with multiple functions #133
mikerhodesideas
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
big disclaimer up front - I'm not a dev, so hopefully this isn't a waste of time
but I love this project & am trying to help as much as possible
this video from IndyDevDan seems to me like it would be really useful for this project
really clean code & the first one I've seen that using a map of functions to cleanly loop through all available funcs
(everything else I've seen so far had long if/elif statements, which isn't going to be useful/possible once we approach the limit of 128 functions)
Maybe Dan's already in this project - who knows... but he deserves all the credit here
video: https://www.youtube.com/watch?v=KwcrjP3vuy0
code base: https://github.com/disler/multi-agent-postgres-data-analytics/tree/v7-turbo4-assistants-threads-messages
specifically this file: https://github.com/disler/multi-agent-postgres-data-analytics/blob/v7-turbo4-assistants-threads-messages/postgres_da_ai_agent/turbo_main.py
hope it's useful for the swarm!
Beta Was this translation helpful? Give feedback.
All reactions