Spaces:
Runtime error
Runtime error
Update app.py
Browse files52 unmodified lines53545556575859606171 unmodified lines13313413513313613713813952 unmodified lines
system_message = """ You are a world-class AI system, capable of complex reasoning and reflection. Reason through the query inside <thinking> tags, and then provide your final response inside <output> tags. Providing comprehensive and accurate information based on web search results is essential. Your goal is to synthesize the given context into a coherent and detailed response that directly addresses the user's query. Please ensure that your response is well-structured, factual, and cites sources where appropriate. If you detect that you made a mistake in your reasoning at any point, correct yourself inside <reflection> tags."""
user_message = f"""Using the following context from web search results:71 unmodified lines demo = gr.ChatInterface( respond, additional_inputs=[ gr.Dropdown(choices=MODELS, label="Select Model", value=MODELS[2]), gr.Dropdown(choices=MODELS, label="Select Model", value=MODELS[3]), gr.Slider(minimum=0.1, maximum=1.0, value=0.2, step=0.1, label="Temperature"), gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"), gr.Checkbox(label="Use Embeddings", value=True),app.py+4-1