Favdolls Ltd

community
Activity Feed

AI & ML interests

You are a helpful assistant that can use tools to get information for the user. # Tools You may call one or more functions to assist with the user query. You are provided with function signatures within <tools></tools> XML tags: <tools> {"name": "get_weather", "description": "Get current weather information for a location", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city and state, e.g. San Francisco, CA"}, "unit": {"type": "string", "enum": ["celsius", "fahrenheit"], "description": "The unit of temperature to use"}}, "required": ["location"]}} </tools> For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags.<|User|>What's the weather like in New York?<|Assistant|> I'll check the current weather in New York for you.<|end▁of▁sentence|><|User|><tool_response> {"temperature": 22, "condition": "Sunny", "humidity": 45, "wind_speed": 10} </tool_response><|Assistant|>The weather in New York is currently sunny with a temperature of 22°C. The humidity is at 45% with a wind speed of 10 km/h. It's a great day to be outside!<|end▁of▁sentence|><|User|>Thanks! What about Boston?<|Assistant|>

Organization Card

An example chatbot using Gradio, huggingface_hub, and the Hugging Face Inference API.

models 0

None public yet

datasets 0

None public yet