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

LocalAI support #2565

Open
netandreus opened this issue May 8, 2024 · 3 comments
Open

LocalAI support #2565

netandreus opened this issue May 8, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@netandreus
Copy link

The Feature

Can you please add settings for OpenAI server (url).

Motivation, pitch

With this we can point Quivr to LocalAI server.

Twitter / LinkedIn details

No response

@netandreus netandreus added the enhancement New feature or request label May 8, 2024
@bioshazard
Copy link

Was just lookin for this support. Will add it myself if someone doesn't beat me to it.

@wwjCMP
Copy link

wwjCMP commented May 12, 2024

Yes, it is very necessary.

@bioshazard
Copy link

bioshazard commented May 13, 2024

I have had a ton of trouble getting Quivr up in the first place. It will be simple to add once I get a working environment.

Directly in code, you should just need base_url=http://localhost:8080/v1 (or wherever LocalAI is hosted) added as an option in the ChatOpenAI line here:

https://github.com/QuivrHQ/quivr/blob/main/backend/modules/brain/integrations/GPT4/Brain.py#L170

Tho a proper PR would include managing it as an ENV var.

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

No branches or pull requests

3 participants