Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

ollama-api openai compatibility #3312

Closed
gipde opened this issue Jun 20, 2024 · 0 comments
Closed

ollama-api openai compatibility #3312

gipde opened this issue Jun 20, 2024 · 0 comments

Comments

@gipde
Copy link

gipde commented Jun 20, 2024

Bug Report

Description

Bug Summary:
if i use continue.dev i would like to use embeddings via open-webui like tabautocompletion or chat.

Steps to Reproduce:
configuration in continue.dev

"embeddingsProvider": {
    "model": "nomic-embed-text",
    "provider": "openai",
    "apiBase": "http://<myIP-of-open-webui>/ollama/api",
    "apiKey": "sk-"
  }

due to recordings, continue.dev transmit the following json fragment

{
    "model": "nomic-embed-text",
    "input":["hello ..."]
  }

but the api requires json in form of

{
  "model": "nomic-embed-text",
  "prompt": "string"
}

so it seems that there is a incompatibility within the json structure.

on the oter hand, if i configure the ollama-provider in continue.dev, i cannot use the api-key from open-webui

@open-webui open-webui locked and limited conversation to collaborators Jun 20, 2024
@tjbck tjbck converted this issue into discussion #3318 Jun 20, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant