Our PDF Chatbot tool allows you to transform any PDF document into an interactive chatbot that can answer questions based on the document’s content. This tool uses advanced RAG (Retrieval-Augmented Generation) technology to provide accurate, context-aware responses.
This endpoint allows users to ask questions about uploaded documents.
Copy
// RequestPOST /query{ "user_id": "user123", "question": "What are the main topics in the document?", "chat_history": [ ["What is the document about?", "It discusses climate change policies."], ["What is the impact of climate change?", "It leads to rising temperatures, extreme weather, and sea level rise."] ]}// Response{ "answer": "The document discusses the effects of CO2 emissions and global warming...", "chunk_ids": [9876543210123456, 1576543210153056]}