from InnovationHub.llm.vector_store import * from InnovationHub.llm.chain import * def start_ui(): chatbot_interface = gradio.Interface( fn=chat, inputs=["text", gradio.inputs.Dropdown(vehicle_options, label="Select a Mercedes-Benz Owner's Manual") #gradio.inputs.Slider(minimum=1, maximum=10, step=1, label="k"), #gradio.inputs.Slider(minimum=0.0, maximum=1.0, step=0.01, label="Temperature") ], outputs="text", title="Mercedes-Benz Owner's Manual", description="Ask questions to get answers from the Mercedes-Benz Owner's manual.
Disclaimer: THIS IS NOT OFFICIAL AND MAY NOT BE AVAILABLE ALL THE TIME. ALWAYS LOOK AT THE OFFICIAL DOCUMENTATION at https://www.mbusa.com/en/owners/manuals", article = '
visitor badge
' ) chatbot_interface.launch() if __name__ == '__main__': start_ui()