mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
b26108975d
* Update the declarative agent samples * Add the Microsoft.Agents.AI.Declarative project * Make the package non packable * Use the RecalcEngine when creating the ChatOptions * Ignore VSTHRD200 * Add geting started samples * Address code review feedback
30 lines
813 B
YAML
30 lines
813 B
YAML
kind: Prompt
|
|
name: Assistant
|
|
description: Helpful assistant
|
|
instructions: You are a helpful assistant. You answer questions using the tools provided.
|
|
model:
|
|
options:
|
|
temperature: 0.9
|
|
topP: 0.95
|
|
allowMultipleToolCalls: true
|
|
chatToolMode: auto
|
|
tools:
|
|
- kind: function
|
|
name: GetWeather
|
|
description: Get the weather for a given location.
|
|
bindings:
|
|
get_weather: get_weather
|
|
parameters:
|
|
properties:
|
|
location:
|
|
kind: string
|
|
description: The city and state, e.g. San Francisco, CA
|
|
required: true
|
|
unit:
|
|
kind: string
|
|
description: The unit of temperature. Possible values are 'celsius' and 'fahrenheit'.
|
|
required: false
|
|
enum:
|
|
- celsius
|
|
- fahrenheit
|