Giter Club home page Giter Club logo

autogen-demos's Introduction

Hi, I'm Li ๐Ÿ‘‹

Shell Script Python 3 PyTorch Pandas Docker

thinkall's GitHub stats

Top Langs

thinkall's wakatime stats

trophy

github-snake



autogen-demos's People

Contributors

thinkall 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar

autogen-demos's Issues

mp cannot initiate the chat

def chatbot_reply(input_text):
"""Chat with the agent through terminal."""
queue = mp.Queue()
process = mp.Process(
target=initiate_chat_with_agent,
args=(llm_config, input_text, queue),
)
process.start()
try:
# process.join(TIMEOUT+2)
messages = queue.get(timeout=TIMEOUT)
except Exception as e:
messages = [
str(e)
if len(str(e)) > 0
else "Invalid Request to OpenAI, please check your API keys."
]
finally:
try:
process.terminate()
except:
pass
return messages
When I run the code, it shows an error like below. Could you please help me fix this?>
exitcode = _main(fd, parent_sentinel)
self = reduction.pickle.load(from_parent)
AttributeError: Can't get attribute 'initiate_chat_with_agent' on <module 'main' (built-in)>

Autogen Panel Docker build failed: Uninstalling typing_extensions-4.4.0

I just found out about your interesting projects here and try to run the Panel in docker.

The build throws folling error:

132.4   Attempting uninstall: typing-extensions
132.4     Found existing installation: typing_extensions 4.4.0
132.4     Uninstalling typing_extensions-4.4.0:
132.6 ERROR: Could not install packages due to an OSError: [Errno 22] Invalid argument: '/home/autogen/.local/lib/python3.10/site-packages/typing_extensions-4.4.0.dist-info/'
132.6 
------
Dockerfile:22

peeking arround, autogen will be installed with local LLM support as well as pytorch-cpu. the latter pulls in typing_extensions 4.4.0 which gives this error.
since in my usecase, I have a litellm.ai API-proxy towards my local running LLMs on another machine, this is unneccessary.
can I just drop torch and LLM and bump autogen to the latest version? will that work?

OT: and what is this ernie-bot about?

[Bug]: AutoGen RAG Gradio errors during pip install...

Describe the bug

When running the following pip install, an error occurs.
pip3 install --no-cache-dir -r requirements.txt

ERROR: Could not find a version that satisfies the requirement pyautogen==0.1.14 (from versions: none)
ERROR: No matching distribution found for pyautogen==0.1.14

Steps to reproduce

  1. Create a new Python Project in Visual Studio Community Edition
  2. Create a Folder call
  3. Copy the corresponding files for the demo to the folder
  4. Open a terminal and install the dependencies
    pip3 install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu
    pip3 install --no-cache-dir -r requirements.txt
  5. Next run pip3 install --no-cache-dir -r requirements.txt

Python 3.9 version is installed for this. The AutoGen Docs do not mention anything about the RetrieveAssistantAgent so it appears it was only supported in an older version of AutoGen.

Expected Behavior

I expect it to work.

Screenshots and logs

No response

Additional Information

No response

[Bug]: AutoGen_Playground online demo is dead

Describe the bug

Clicked on AutoGen_Playground online demo on HuggingFace. I spun with "Preparing Space" for 10 minutes and nothing else appeared.

Steps to reproduce

See above -- just click "online" in "Group Chat Playground Demo:.

Expected Behavior

Should start app.

Screenshots and logs

No response

Additional Information

No response

test

Describe the bug

dsfasfs

Steps to reproduce

werwqesdffsd

Expected Behavior

asdfsdfsf

Screenshots

sdfafs

Additional Information

sadfasfsdf

Configuration for running demo

Hi, came across the repo and am excited to test it out. I'm unable to get in running and am hoping to have some clarity on what configuration is needed.

Here are the steps I've done:

  1. Create a conda environment with Python 3.10: conda create -n autogen-demo python=3.10
  2. Activate the conda environment: conda activate autogen-demo
  3. Install AutoGen with Retrievechat option: pip install "pyautogen[retrievechat]"
  4. Run: python app.py

Here are the results I get, it seems to be issues with the imports:

File "/.../autogen-demo/app.py", line 9, in <module>
    from autogen.retrieve_utils import TEXT_FORMATS, get_file_from_url, is_url
  File "/Users/.../miniconda3/envs/autogen-poc/lib/python3.10/site-packages/autogen/retrieve_utils.py", line 8, in <module>
    from chromadb.api import API
ImportError: cannot import name 'API' from 'chromadb.api' (/Users/.../miniconda3/envs/autogen-poc/lib/python3.10/site-packages/chromadb/api/__init__.py)

Any suggestions?

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.