convert embedding function name to be more consistence

This commit is contained in:
henry
2025-06-04 18:24:27 +02:00
parent cc12e9e1a3
commit 04da2b05f6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ async def convert_streaming_response_ollama_to_openai(ollama_streaming_response)
yield "data: [DONE]\n\n"
def convert_response_ollama_to_openai(response):
def convert_embedding_response_ollama_to_openai(response) -> dict:
"""
Convert the response from Ollama embeddings endpoint to the OpenAI-compatible format.