[PR #1009] [CLOSED] Added an example for Self Querying Retrieval #10432

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1009
Author: @technovangelist
Created: 11/6/2023
Status: Closed

Base: mainHead: mattw/selfqueryingretrieval


📝 Commits (5)

  • 9411399 Add new example for self querying retrieval
  • 1aaaaa7 add examples
  • a1c8974 also try other models
  • 3d8872b update as per jmorganca comments
  • 9dd88dc Fixes for Bruces comments

📊 Changes

8 files changed (+2193 additions, -0 deletions)

View changed files

examples/langchain-typescript-selfqueryingretrieval/.gitignore (+2 -0)
examples/langchain-typescript-selfqueryingretrieval/findArt.ts (+73 -0)
examples/langchain-typescript-selfqueryingretrieval/generateSource.ts (+128 -0)
examples/langchain-typescript-selfqueryingretrieval/package-lock.json (+1823 -0)
examples/langchain-typescript-selfqueryingretrieval/package.json (+20 -0)
examples/langchain-typescript-selfqueryingretrieval/readme.md (+111 -0)
examples/langchain-typescript-selfqueryingretrieval/tsconfig.json (+10 -0)
examples/langchain-typescript-selfqueryingretrieval/types.ts (+26 -0)

📄 Description

Self querying retrieval is a method to filter a vector database to show the most relevant documents for a query


🔄 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/1009 **Author:** [@technovangelist](https://github.com/technovangelist) **Created:** 11/6/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `mattw/selfqueryingretrieval` --- ### 📝 Commits (5) - [`9411399`](https://github.com/ollama/ollama/commit/9411399cb4f6fbbf37e561ff8b1697be2e127bc6) Add new example for self querying retrieval - [`1aaaaa7`](https://github.com/ollama/ollama/commit/1aaaaa76a0fc194b1b856fcb311f532ef6d1b9ff) add examples - [`a1c8974`](https://github.com/ollama/ollama/commit/a1c89749757082ae52c94ed53caf5b72dd782fd1) also try other models - [`3d8872b`](https://github.com/ollama/ollama/commit/3d8872bbbd4dfb2bcbd00472d2e30f5f1fdb74f9) update as per jmorganca comments - [`9dd88dc`](https://github.com/ollama/ollama/commit/9dd88dc0409065d1d22370f97dc668e93d9dea68) Fixes for Bruces comments ### 📊 Changes **8 files changed** (+2193 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/langchain-typescript-selfqueryingretrieval/.gitignore` (+2 -0) ➕ `examples/langchain-typescript-selfqueryingretrieval/findArt.ts` (+73 -0) ➕ `examples/langchain-typescript-selfqueryingretrieval/generateSource.ts` (+128 -0) ➕ `examples/langchain-typescript-selfqueryingretrieval/package-lock.json` (+1823 -0) ➕ `examples/langchain-typescript-selfqueryingretrieval/package.json` (+20 -0) ➕ `examples/langchain-typescript-selfqueryingretrieval/readme.md` (+111 -0) ➕ `examples/langchain-typescript-selfqueryingretrieval/tsconfig.json` (+10 -0) ➕ `examples/langchain-typescript-selfqueryingretrieval/types.ts` (+26 -0) </details> ### 📄 Description Self querying retrieval is a method to filter a vector database to show the most relevant documents for a query --- <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:00:28 -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#10432