VikParuchuri/textbook_quality

custom documents

Opened this issue · 2 comments

Can this work with custom documents not just urls??

For retrieval? You can write a custom retrieval backend to retrieve from documents, like pdfs or txt files. The current retrieval services are in services/adapators. I may take a look into writing this myself in the future, but it doesn't exist now. (although it wouldn't be very difficult to add)

I just pushed an experimental feature to the dev branch that enables using a custom search service for retrieval. You basically send it a query, and it returns a match. Very flexible in terms of how you host/include documents.