GithubHelp home page GithubHelp logo

metauto-ai / gptswarm Goto Github PK

View Code? Open in Web Editor NEW
416.0 6.0 19.0 19.25 MB

๐Ÿ GPTSwarm: LLM agents as (Optimizable) Graphs

Home Page: https://gptswarm.org

License: MIT License

Jupyter Notebook 4.59% Python 95.41%
agent ai gpt python reinforcement-learning self-improvement swarm-intelligence multi-agent society-of-mind

gptswarm's Issues

Retry Error When running the example

2024-05-01 17:00:25.721 | ERROR | swarm.graph.node:execute:141 - Node DirectAnswer failed to execute due to: RetryError: RetryError[<Future at 0x314e4fcd0 state=finished raised OpenAIError>]
2024-05-01 17:03:04.397 | ERROR | swarm.graph.node:execute:141 - Node DirectAnswer failed to execute due to: RetryError: RetryError[<Future at 0x314e4ff40 state=finished raised OpenAIError>]
2024-05-01 17:07:03.721 | ERROR | swarm.graph.node:execute:141 - Node DirectAnswer failed to execute due to: RetryError: RetryError[<Future at 0x314e84100 state=finished raised OpenAIError>]


Showing the above error when running the examples, the local openai connection is okay.

Double check the initial release

@Obs01ete @Wenyi-AI-Wang Hi, Dmitrii and Wenyi. Thanks for your effort!

These are the remain work for us.

  • Please help with the dataset upload (git-lfs)
  • Check the GitHub setting of project (automated test)
  • Upload the ArXiv link and right format of paper citation

[BUG] List instead of str in FinalDecision

    output: Foo Bar Asy
2024-02-27 15:46:46.445 | ERROR    | swarm.graph.node:execute:141 - Node FinalDecision failed to execute due to: AttributeError: 'list' object has no attribute 'strip'
2024-02-27 15:46:46.446 | INFO     | swarm.graph.node:log:160 - Memory Records for ID 3BUm:
    operation: GenerateQuery
    files: ['datasets/demos/agi.txt']
    subtask: # Information Gathering for Question Resolution

Issue with Asynchronous Multi-Agent Commands using LMStudio API Causing Incorrect Output Assignment

Hi,

Thanks for this useful framework!

There is an issue while running multi-agent commands that require asynchronous use of LMStudio API. For instance, running PYTHONPATH=. python experiments/run_mmlu.py --num-truthful-agents=3 --mode=OptimizedSwarm, the outputs of LMStudio seem to be not assigned to the relevant question but to random input questions.

I have not tested this with Open AI API to see if this is specifically an incompatibility issue of LMStudio.

My current temporary solution is not to use the asynchronous implementation but this is annoyingly very slow. Have you encountered this? Is there a way to still use your asynchronous implementation and not experience this issue?

Thanks so much!

Advice on state management

This is one of the most approachable agent frameworks I have used. Thank you.

Would you mind giving me some advice on state management. I just need direction as there seem to be several ways of doing the same thing, and I don't want to start down the wrong (/unintended) path.

Question
I need agents to manage a hierarchy of objects. Which implies a user-navigable state machine.
[edit] Simplified the question

  • For N states, would you use 1 uber-agent, or 1 agent per state
  • Typically, no external tools needed, so I guess a DirectAnswer-type agent may suffice? Furthermore, I imagine a swarm would suffice (versus a DAG like CoT or ToT)
  • Context/navigation state is truly global, ie not peculiar to each agent.id. Would you keep said state (somehow) in globalMemory, or as an inputs[x]/outputs[x] state that is flowed around, as extra properties in executions {} or in an env (per your crossword example)?

Thanks

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.