Giter Site home page Giter Site logo

Comments (10)

OWigginsHay avatar OWigginsHay commented on May 18, 2024 3

I was actually doing this at work today. A good foundation is tell all assistants that they can "Request_Function" where that is a tool function all assistants have which takes [name, description and schema] where schema is the json schema if the requested function. That is all the info you need to make a new tool and another agent or piece of code can add it programatically on request. Might see if I can make something soon

from openai_agent_swarm.

OWigginsHay avatar OWigginsHay commented on May 18, 2024 3

image
That is the tool function that lets the assistant request a new tool.

image
This is the agent using initiative to request a new tool. I am pretending to be an agent in the layer above as I have not full code system to automate this yet.

Add the schema as a tool
image

image

from openai_agent_swarm.

daveshap avatar daveshap commented on May 18, 2024 1

Thanks, I'll play with this tomorrow. Great work

from openai_agent_swarm.

daveshap avatar daveshap commented on May 18, 2024 1

Please submit a PR to integrate this into the tool_maker folder!

from openai_agent_swarm.

OWigginsHay avatar OWigginsHay commented on May 18, 2024 1

PRd

from openai_agent_swarm.

daveshap avatar daveshap commented on May 18, 2024

Screenshots?

from openai_agent_swarm.

OWigginsHay avatar OWigginsHay commented on May 18, 2024

Yup give me sec, let me get some together and do an info dump. I don't often use github discussions so sorry if I do this inefficiently

from openai_agent_swarm.

OWigginsHay avatar OWigginsHay commented on May 18, 2024

The version I had early was a little cleaner as it generated the JSON schema formatted without escaping characters... this version would need cleanup, but theoretically another assistant could do that

from openai_agent_swarm.

OWigginsHay avatar OWigginsHay commented on May 18, 2024

So branch and populate with an md file and images. Will that be okay? I'll try add some code to if i get time

from openai_agent_swarm.

daveshap avatar daveshap commented on May 18, 2024

You can save it all in the README just make sure to include all instructions, JSON, etc so that people know exactly hwo to do it yeah. Images and screenshots to help would be great.

from openai_agent_swarm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.