- Notifications
You must be signed in to change notification settings - Fork328
RAG in the SDK#1453
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
RAG in the SDK#1453
Uh oh!
There was an error while loading.Please reload this page.
Conversation
a092bc1
todad8c12
Compare.is_empty()); | ||
// Multi-variable test | ||
let results = collection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
@montanalow This is an example of the kind of query you can do
@@ -92,29 +92,30 @@ it("can search", async () => { | |||
query: { | |||
full_text_search: { body: { query: "Test", boost: 1.2 } }, | |||
semantic_search: { | |||
title: { query: "This is a test", boost: 2.0 }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Not for this PR, but in the future it might be nice to have a "needle" document, and use it's ID, so you don't have unstable result IDs because all the documents are equally similar "This is a test document".
No description provided.