Skip to content

Insert vector db fails with ollama embedding because /api/embedding is depreciated. #5

@hungrymonkey

Description

@hungrymonkey

Ollama depreciates /api/embedding in favor of /api/embed. Chromem calls /api/embedding and returns no output.

Fixing the url path fixes this issue.

Error processing document directory: error processing file /Users/ted/gitrepo/pregnancy/modeling/lightrag/documents/High-Risk.Pregnancy_.Age.Complications.Management.html: error inserting document: failed to extract entities: failed to process graph entity: failed to upsert entity in vector storage: couldn't create embedding of document: error response from the embedding API: 404 Not Found

Changing the rest response fixes this issue.

Error processing document directory: error processing file /Users/ted/gitrepo/pregnancy/modeling/lightrag/documents/High-Risk.Pregnancy_.Age.Complications.Management.html: error inserting document: failed to extract entities: failed to process graph entity: failed to upsert entity in vector storage: couldn't create embedding of document: no embeddings found in the response

Related ollama/ollama#5127 philippgille/chromem-go#115

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions