[PR #5199] [CLOSED] allow to return embeddings using cli #11711

Closed
opened 2026-04-12 23:36:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5199
Author: @jaluma
Created: 6/21/2024
Status: Closed

Base: mainHead: embeddings-cli


📝 Commits (2)

  • bb6ab23 allow to return embeddings using cli
  • 9fbfa74 Merge branch 'main' into embeddings-cli

📊 Changes

2 files changed (+92 additions, -0 deletions)

View changed files

📝 api/types.go (+2 -0)
📝 cmd/cmd.go (+90 -0)

📄 Description

With the intention of allowing to autoload an in-memory model with embeddings, as we can using ollama run <model> "" without depending to client, we plan to add support for obtaining embeddings via CLI. also, this will make it much faster to test the use of embeddings models.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/5199 **Author:** [@jaluma](https://github.com/jaluma) **Created:** 6/21/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `embeddings-cli` --- ### 📝 Commits (2) - [`bb6ab23`](https://github.com/ollama/ollama/commit/bb6ab2391ca8965baf312394fe6d6a5af9606a7a) allow to return embeddings using cli - [`9fbfa74`](https://github.com/ollama/ollama/commit/9fbfa74219fa74d030c816cc99d3bee0d1c1923d) Merge branch 'main' into embeddings-cli ### 📊 Changes **2 files changed** (+92 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+2 -0) 📝 `cmd/cmd.go` (+90 -0) </details> ### 📄 Description With the intention of allowing to autoload an in-memory model with embeddings, as we can using `ollama run <model> ""` without depending to client, we plan to add support for obtaining embeddings via CLI. also, this will make it much faster to test the use of embeddings models. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 23:36:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#11711