[PR #69] [CLOSED] Use embeddings to give the chat client session memory #56659

Closed
opened 2026-04-29 11:11:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/69
Author: @BruceMacD
Created: 7/11/2023
Status: Closed

Base: bindings-embedHead: brucemacd/embed-client


📝 Commits (1)

  • 6ee1822 use embeddings to give chat additional context

📊 Changes

7 files changed (+174 additions, -9 deletions)

View changed files

📝 api/client.go (+30 -0)
📝 api/types.go (+1 -1)
📝 cmd/cmd.go (+71 -6)
cmd/vector.go (+67 -0)
📝 go.mod (+1 -0)
📝 go.sum (+2 -0)
📝 llama/llama.go (+2 -2)

📄 Description

Store previous questions and answers in the client during a chat session. Use embeddings to look-up what is relevant to the current context.

This is an initial implementation. We will need to iterate to improve this experience through more dynamic prompts and possibly weighting recency in the conversation too.


🔄 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/69 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 7/11/2023 **Status:** ❌ Closed **Base:** `bindings-embed` ← **Head:** `brucemacd/embed-client` --- ### 📝 Commits (1) - [`6ee1822`](https://github.com/ollama/ollama/commit/6ee1822105618891d0574eab73eda6ee84dccabf) use embeddings to give chat additional context ### 📊 Changes **7 files changed** (+174 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `api/client.go` (+30 -0) 📝 `api/types.go` (+1 -1) 📝 `cmd/cmd.go` (+71 -6) ➕ `cmd/vector.go` (+67 -0) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -0) 📝 `llama/llama.go` (+2 -2) </details> ### 📄 Description Store previous questions and answers in the client during a chat session. Use embeddings to look-up what is relevant to the current context. This is an initial implementation. We will need to iterate to improve this experience through more dynamic prompts and possibly weighting recency in the conversation too. --- <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-29 11:11:33 -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#56659