Update embedding endpoint

Created on 22 January 2025, about 1 month ago

Problem/Motivation

In version 0.3.0 of Ollama the existing embedding endpoint (/api/embeddings) was marked as being superseded by a new endpoint (/api/embed).

Proposed resolution

Update the embeddings methods of the OllamaProvider & OllamaControlApi classes to use the new route and data structure. This new endpoint can accept multiple inputs/promts, and therefore returns an array of vector arrays.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ccrawford91 Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024