Open
Description
Problem
Users would like to learn from local documents, and ask questions of files via retrieval augmented generation (RAG), without using the chat UI.
Proposed Solution
Make equivalents to the /learn
and /ask
commands available outside the chat UI, such as in magic commands. Allow users to specify their embedding model of choice, similar to how magic commands work.
Additional context
This is adapted from #205 (comment) , a comment by @MarcSkovMadsen . Thanks!