Code Monkey home page Code Monkey logo

autogen's People

Contributors

ryanshrott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

autogen's Issues

Fails when I run it with module 'autogen' has no attribute 'config_list_from_json'

I was trying to follow the code for Integrate AutoGen into your Chatbot: Code Interpreter Clone The article and repo do not seem to have much detail on how to run this and I am not familiar with chainlit.

Here is what I tried:

❯ git clone [email protected]:ryanshrott/autogen.git demo_autogen
❯ cd  demo_autogen
❯ python -m venv ./.venv
❯ source ./.venv/bin/activate
❯ pip install chainlit autogen openai
[lots of output but success]
    
❯ ./.venv/bin/chainlit run app.py
2023-10-25 16:41:59 - Your app is available at http://localhost:8000
2023-10-25 16:42:02 - module 'autogen' has no attribute 'config_list_from_json'
Traceback (most recent call last):
  File ".../demo_autogen/.venv/lib/python3.10/site-packages/chainlit/utils.py", line 39, in wrapper
    return await user_function(**params_values)
  File "...//demo_autogen/app.py", line 12, in setup_agent
    config_list = autogen.config_list_from_json(
AttributeError: module 'autogen' has no attribute 'config_list_from_json'

I did see in the comments of the Medium article that others had an issue, too, but I believe the author updated the code to fix the problem.

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.