mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
92df9e14bf
* first work on declarative * initial version of the declarative support * fix tests and mypy * fix parameters of functiontool * slight logic improvement * remove path until merge * updates from comments * create dispatcher and spec type, json_schema method * fix mypy, skipping model * updated lock * fixed declarative tests and renamed some other test files * refined loader * updated lock * fix mypy * added readme to samples folder * fixes from review * undid test file rename
28 lines
769 B
YAML
28 lines
769 B
YAML
kind: Prompt
|
|
name: Assistant
|
|
description: Helpful assistant
|
|
instructions: You are a helpful assistant. You answer questions using the tools provided.
|
|
model:
|
|
options:
|
|
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
|