Additional Considerations:
- Handle variations in user queries, such as different spellings or abbreviations of company names and metric parameters.
- Implement error handling for cases where the LLM fails to extract the necessary information from the user query.
- Consider a history length of 6 messages while processing the given query.
- Consider adding support for additional date formats or relative date ranges (e.g., "last quarter", "previous month").
- Provide clear instructions on how to set up and run the application, including any required dependencies and API credentials.
- Submit a python notebook
Evaluation Criteria:
- Correctness of the JSON output based on the user queries.
- Proper handling of default start and end dates when not explicitly mentioned.
- Ability to handle multiple companies and comparison requests in a single query.
- Code quality, readability, and documentation.
- Effective use of the LLM for understanding user queries and extracting relevant information.
- Error handling and robustness of the application.
Feel free to explore additional features or enhancements to showcase your skills and creativity in working with LLMs and Python