Benefits and Capabilities of Questro

Questro offers several key benefits and capabilities:

  • User-Friendly Chat Interface: Questro provides an intuitive and interactive chat interface built with Streamlit, making it easy for users to interact with the chatbot.

  • Pre-loaded Document Support: Users can begin asking questions right away based on a pre-loaded document (currently, the Indian Constitution).

  • Document Upload and Processing: The ability to upload multiple PDF, DOCX, or TXT files allows users to create customized knowledge bases for their specific needs.

  • Contextual Answers: The chatbot utilizes cosine similarity to ensure that the answers provided are relevant to the context of the uploaded documents.

  • Out-of-Context Detection: If a user’s question is outside the scope of the indexed documents, the chatbot informs them to ask a question within the context.

  • Persistent Storage: LlamaIndex’s persistent storage mechanism ensures that the index data is saved between sessions, maintaining the chatbot’s knowledge.

  • Customizable Prompt: A chat prompt template allows for customization of the chatbot’s persona and interaction style.

These features make Questro a valuable tool for anyone who needs a powerful and user-friendly chatbot for document-based question answering.