We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HI , I found there is a bug setttins.yaml embeddings api_base is no use embeddings: api_base: http://my_ollama_host
llm/openai/openai_embeddings_llm.py
not set host
should be
#https://github.com/ollama/ollama-python client = Client( host=f'{self._configuration.api_base}', headers={'x-some-header': 'some-value'} ) embedding = client.embeddings(model=self._configuration.model, prompt=inp)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
HI , I found there is a bug setttins.yaml embeddings api_base is no use
embeddings:
api_base: http://my_ollama_host
llm/openai/openai_embeddings_llm.py
not set host
should be
#https://github.com/ollama/ollama-python
client = Client(
host=f'{self._configuration.api_base}',
headers={'x-some-header': 'some-value'}
)
embedding = client.embeddings(model=self._configuration.model, prompt=inp)
The text was updated successfully, but these errors were encountered: