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

Add external indexers for RAG #4457

Merged
merged 10 commits into from
Oct 3, 2024
Merged

Add external indexers for RAG #4457

merged 10 commits into from
Oct 3, 2024

Conversation

nono
Copy link
Member

@nono nono commented Sep 2, 2024

No description provided.

@nono nono requested a review from a team as a code owner September 2, 2024 15:37
Copy link
Contributor

@paultranvan paultranvan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it begins... 🎉

worker/index/index.go Outdated Show resolved Hide resolved
}
if !needIndexation {
// TODO we should patch the metadata in the vector db when a
// file has been moved/renamed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are also additional metadata that might be eventually be useful, e.g. the metadata.referenceDate, the metadata.qualification.label, ... At some point we will need to list which metadata to index

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't we only sending the file's content? In which case metadata or path changes seem irrelevant.

worker/index/index.go Outdated Show resolved Hide resolved
cozy.example.yaml Outdated Show resolved Hide resolved
docs/workers.md Show resolved Hide resolved
cozy.example.yaml Outdated Show resolved Hide resolved
worker/index/index.go Outdated Show resolved Hide resolved
}
if !needIndexation {
// TODO we should patch the metadata in the vector db when a
// file has been moved/renamed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't we only sending the file's content? In which case metadata or path changes seem irrelevant.

docs/ai.md Outdated Show resolved Hide resolved
model/rag/chat.go Outdated Show resolved Hide resolved
worker/rag/rag.go Show resolved Hide resolved
worker/rag/rag.go Show resolved Hide resolved
model/rag/chat.go Outdated Show resolved Hide resolved
model/rag/chat.go Outdated Show resolved Hide resolved
pkg/consts/doctype.go Outdated Show resolved Hide resolved
model/rag/chat.go Outdated Show resolved Hide resolved
@nono nono merged commit 20bbf36 into master Oct 3, 2024
4 checks passed
@nono nono deleted the external-indexers branch October 3, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants