This FastAPI application demonstrates how to decompose complex questions into simpler ones, query specific information, aggregate the answers into a comprehensive response, and directly query a GPT model for a response to a given text input.
- Complex Question Decomposition: Break down complex questions into simpler, more manageable queries.
- Specific Information Querying: Fetch specific answers based on decomposed questions.
- Answer Aggregation: Combine answers to simple queries into a comprehensive response to the original complex question.
- Direct GPT Model Querying: Directly send queries to a GPT model and receive responses.