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

[Feature]: support Ollama backend #1064

Open
2 tasks done
yankay opened this issue Apr 14, 2024 · 4 comments · May be fixed by #1065
Open
2 tasks done

[Feature]: support Ollama backend #1064

yankay opened this issue Apr 14, 2024 · 4 comments · May be fixed by #1065
Labels
enhancement New feature or request

Comments

@yankay
Copy link
Contributor

yankay commented Apr 14, 2024

Checklist

Is this feature request related to a problem?

None

Problem Description

No response

Solution Description

support Ollama like localai.

Benefits

The Ollama can make it easier for users to interact with K8SGPT.

Potential Drawbacks

No response

Additional Information

No response

@yankay yankay linked a pull request Apr 14, 2024 that will close this issue
6 tasks
@liyimeng
Copy link

@yankay I think it is already supported, see #981

basically, u do

root@testing:/# k8sgpt auth add --backend localai --model tinyllama --baseurl http://my-ollama:8080/v1
localai added to the AI backend provider list

@wilmardo
Copy link

On my Mac I did this to make it work. Installed ollama as application, then:

k8sgpt auth add --backend localai --model llama2 --baseurl http://localhost:11434/v1
k8sgpt auth default -p localai. # sets it as default, not really needed

@arbreezy
Copy link
Member

yes we can use localai, cause both support the OpenAI's API spec, but I guess we can surface it as its own backend since it's a different project that localai

@JuHyung-Son
Copy link
Contributor

if they have same inference interface, how about using opensource bankend which can ollama, localai can use.

@AlexsJones AlexsJones added the enhancement New feature or request label Apr 26, 2024
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
Status: Proposed
Development

Successfully merging a pull request may close this issue.

6 participants