Use the new OpenAI GPT Builder to serve as the main entry point to instantiate and control a swarm #34
Replies: 3 comments 5 replies
-
I created an agent maker aid. So far not that great, but still fun. https://chat.openai.com/g/g-L7pVl4WM7-hephaestus-hammer-haas-project |
Beta Was this translation helpful? Give feedback.
-
Have they released the API documentation for creating GPTs? Also they mention on their "Introducing GPTs" page that the GPT will be able to call other APIs of your choice. Perhaps that's how Pinecone could be integrated? |
Beta Was this translation helpful? Give feedback.
-
Agreed, we might as well leverage what's built in and it works pretty well. I ran into my chatGPT rate limit while creating an AgentBuilderGPT after a couple maller ideas, so I tried out the same concept in the Assistants API with functions as a proof of concept, since functions in Assistants and actions in GPTBuilder are approximately same thing. Assistant Prompt:I found that the workflow I put in the output was helpful. Basically just prompting it to have a conversation to more fully understand the ask and then telling it to call the function with the right args.
FunctionHere's the key for the whole thing, locking it down into a function in the Assistants API, or doing the same through the UI to create an action for a GPT. This ensures it actually uses the function appropriately with all of the args. I also lie to it a bit and say that all of the args are required even though they aren't, since I figure more information is going to be helpful in the effectiveness of a single agent. This function generates the JSON required to pass over to the Assistants API to get your agent.
###Test Conversation
###Next Steps Just pulled this example from the Assistants API docs as a reference of what all is left to add in:
|
Beta Was this translation helpful? Give feedback.
-
I just built a virtual dave in like 30 seconds and I noticed that you can call functions with the GPT Builder. So why not call OpenAI to instantiate and run agent swarms?
https://chat.openai.com/g/g-FjgsPugjY-virtual-david-shapiro
Beta Was this translation helpful? Give feedback.
All reactions