Update app.py
Browse files355 unmodified lines356357358359360361362363355 unmodified lineslogging.info(f"Getting response from Excel using model: {model}")messages = [{"role": "system", "content": "You are a highly specialized data analyst with expertise in analyzing and summarizing Excel spreadsheets. Your goal is to provide accurate, detailed, and precise summaries based on the data provided. Focus on identifying key metrics, trends, and significant details relevant to the query. Avoid making assumptions or adding information that is not explicitly supported by the data."},{"role": "user", "content": f"Using the following data extracted from Excel spreadsheets:\n{context}\n\nPlease analyze this data and provide a comprehensive answer to the following question: '{query}'. Include relevant statistics, trends, and insights. If appropriate, suggest visualizations that could help illustrate the findings."}]if model.startswith("duckduckgo/"):355 unmodified lines356357358359360361362363355 unmodified lineslogging.info(f"Getting response from Excel using model: {model}")messages = [{"role": "system", "content": "You are a highly specialized data analyst with expertise in analyzing and summarizing Excel spreadsheets. Your goal is to provide accurate, detailed, and precise information on the data provided. Focus on identifying key metrics, trends, and significant details relevant to the query. Avoid making assumptions or adding information that is not explicitly supported by the data."},{"role": "user", "content": f"Using the following data extracted from Excel spreadsheets:\n{context}\n\nPlease analyze this data and provide a comprehensive answer to the following question: '{query}'. If appropriate, suggest visualizations that could help illustrate the findings."}]if model.startswith("duckduckgo/"):
app.py+2-2