Skip to content
Snippets Groups Projects
Commit 2486bd8f authored by Marcus Schiesser's avatar Marcus Schiesser Committed by Marcus Schiesser
Browse files

feat: Add files_via_content example for LlamaCloud retrieval

parent e2a0876d
No related branches found
No related tags found
No related merge requests found
---
"@llamaindex/examples": patch
---
Add files_via_content example for LlamaCloud retrieval
...@@ -12,7 +12,8 @@ async function main() { ...@@ -12,7 +12,8 @@ async function main() {
}); });
const queryEngine = index.asQueryEngine({ const queryEngine = index.asQueryEngine({
similarityTopK: 5, // retrieve the whole content of a file instead of just chunks of the file
retrieval_mode: "files_via_content",
}); });
const rl = readline.createInterface({ input, output }); const rl = readline.createInterface({ input, output });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment