pbl-nl / appl-docchat

Chat with your own documents pressure cooker
https://github.com/pbl-nl
MIT License
17 stars 4 forks source link

custom retrieval of context #186

Open saidcetinkaya opened 1 week ago

saidcetinkaya commented 1 week ago

1)Added parameter to ask_chain method 2)Custom class that inherits ConversationalRetrievalChain in make_chain method with context attribute 3)Added method to utils. retrieve_languages_from_vector_store. 4) Detect languages, translate question, retrieve context in ask_chain

*If args is not present program will crash :)