Skip to content

Add Ollama embedding usage metadata #1536

@tzolov

Description

@tzolov

Current OllamaApi and the related OllamaEmbeddingModel do not use the Ollama Embedding metadata response fields such as: total_duration, load_duration and prompt_eval_count. Later can be used to compute the embedding usage metrics

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions