Get the contents of a document by its documentId or filename #1072
hansmbakker
started this conversation in
2. Feature requests
Replies: 2 comments
-
Workaround: is SearchAsync with a ByDocumentId filter meant for this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
+1 It would also help checking if the content was extracted correctly. Also, one could pass the entire document to the LLM to ask questions like "Give me a summary" - in my present understanding this is not possible thus far. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
This is a feature request to directly fetch an indexed document based on its documentId or its filename.
Background
I like the KernelMemory document import pipeline, but only having the AskAsync method to work with the indexed content is too limiting for me. It forces me to always use LLM calls, and the LLM calls have less flexibility than semantic kernel.
It would help to be able to work with the content of a document directly. Either to do a custom LLM call based on that content (e.g. using additional semantic kernel features like requesting a specific ResponseFormat), or to show a citation to the referenced content.
Related feature requests
Expose loaded documents list #623
Beta Was this translation helpful? Give feedback.
All reactions