Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structured Hierarchical Retrieval - LlamaIndex 🦙 0.9.20 #170

Open
1 task
irthomasthomas opened this issue Dec 22, 2023 · 0 comments
Open
1 task

Structured Hierarchical Retrieval - LlamaIndex 🦙 0.9.20 #170

irthomasthomas opened this issue Dec 22, 2023 · 0 comments
Labels
AI-Agents Autonomous AI agents using LLMs Algorithms Sorting, Learning or Classifying. All algorithms go here. Automation Automate the things embeddings vector embeddings and related tools llm Large Language Models llm-experiments experiments with large language models llm-function-calling Function Calling with Large Language Models RAG Retrieval Augmented Generation for LLMs unclassified Choose this if none of the other labels (bar New Label) fit the content.

Comments

@irthomasthomas
Copy link
Owner

But selecting the documents can be tough - how can we dynamically select documents based on different properties depending on the user query?

In this notebook we show you our multi-document RAG architecture:

Represent each document as a concise metadata dictionary containing different properties: an extracted summary along with structured metadata.

Store this metadata dictionary as filters within a vector database.

Given a user query, first do auto-retrieval - infer the relevant semantic query and the set of filters to query this data (effectively combining text-to-SQL and semantic search).

@irthomasthomas irthomasthomas added documentation embeddings vector embeddings and related tools llm Large Language Models llm-experiments experiments with large language models Automation Automate the things AI-Agents Autonomous AI agents using LLMs Algorithms Sorting, Learning or Classifying. All algorithms go here. unclassified Choose this if none of the other labels (bar New Label) fit the content. llm-function-calling Function Calling with Large Language Models RAG Retrieval Augmented Generation for LLMs labels Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI-Agents Autonomous AI agents using LLMs Algorithms Sorting, Learning or Classifying. All algorithms go here. Automation Automate the things embeddings vector embeddings and related tools llm Large Language Models llm-experiments experiments with large language models llm-function-calling Function Calling with Large Language Models RAG Retrieval Augmented Generation for LLMs unclassified Choose this if none of the other labels (bar New Label) fit the content.
Projects
None yet
Development

No branches or pull requests

1 participant