Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to run locally #9

Open
iplayfast opened this issue Oct 19, 2023 · 4 comments
Open

Ability to run locally #9

iplayfast opened this issue Oct 19, 2023 · 4 comments

Comments

@iplayfast
Copy link

I'm able to run autogen using a config list like
config_list = [
{
"model": "mistral-7b-instruct-v0.1.Q5_0.gguf",#"mistral-instruct-7b", #t
he name of your running model
"api_base": "http://0.0.0.0:5001/v1", #the local address of the api
"api_type": "open_ai",
"api_key": "sk-111111111111111111111111111111111111111111111111", # just
a placeholder
}
]

Which talks to text-generation-Webui which has the openai api emulation turned on.
It would be nice to have a similar way of using a local llm with autogen-ui

@hieuminh65
Copy link

Hey Are you trying to use Runpods here? I dont have any error with this

@iplayfast
Copy link
Author

Maybe I'm just not doing it right, but I wasn't able to get it to work.

@victordibia
Copy link
Owner

Recording of the autogenui. Main steps

  • [optional] create a new conda environment
  • pip install autogenui (or you can install from source on github ... clone repo ... pip install -e .)
  • autogenui --port 8081 (from command line). This spins up the ui.
  • open ui in browser http://localhost:8081/ .. and chat with the default 2 agent workflow.
autogenui720.mov

@dlaliberte
Copy link

Recording of the autogenui. Main steps

The op issue is about how to run autogen-ui with a local llm service, not how to run autogen-ui locally. I don't see instructions for how to configure use of a local llm, or any llm service besides ChatGPT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants