Update app.py
Browse files63 unmodified lines646566676869707163 unmodified lines#client is where you can change the LLM model!def respond(message,history):if not message.strip():return "Hello!"gift_ideas = get_top_chunks(message)messages = [{'role': 'system', 'content': f'You give really good gift ideas and are super helpful! You also tell me the price of each item. Give me 5 gift ideas if I ask. Use the following database for gift ideas: {gift_ideas}'}]63 unmodified lines646566676869707163 unmodified lines#client is where you can change the LLM model!def respond(message,history):#if not message.strip():#return "Hello!"gift_ideas = get_top_chunks(message)messages = [{'role': 'system', 'content': f'You give really good gift ideas and are super helpful! You also tell me the price of each item. Give me 5 gift ideas if I ask. Use the following database for gift ideas: {gift_ideas}'}]
app.py+2-2