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

textgen openai compatible endpoind #103

Open
myrulezzz opened this issue Dec 28, 2023 · 2 comments
Open

textgen openai compatible endpoind #103

myrulezzz opened this issue Dec 28, 2023 · 2 comments

Comments

@myrulezzz
Copy link

Hi i set my export OPENAI_ENDPOINT=http://127.0.0.1:5000/v1 as i am running a model throw textgen ui but when i execute kubectl ai "create an nginx deployment with 3 replicas"
I get error
⣾ Processing...Error: error, status code: 500, message: invalid character 'I' looking for beginning of value

@sozercan
Copy link
Owner

sozercan commented Dec 29, 2023

@myrulezzz what version of kubectl-ai are you using? v0.0.11 added support for custom endpoints

I am not sure about textgen ui, but kubectl-ai works with https://github.com/sozercan/aikit or https://github.com/mudler/LocalAI which provides a drop-in openai compatible api

@myrulezzz
Copy link
Author

Hi i am using kubectl-ai version 0.0.11. I am trying also with huggingface text inference endpoint and it does not work. same endpoint works with k8sgpt

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

2 participants