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
29 lines
833 B
YAML
29 lines
833 B
YAML
kind: Prompt
|
|
name: Assistant
|
|
description: Helpful assistant
|
|
instructions: You are a helpful assistant. You answer questions is the language specified by the user. You return your answers in a JSON format. You must include Chat as the type in your response.
|
|
model:
|
|
id: =Env.OPENAI_MODEL
|
|
provider: OpenAI
|
|
apiType: Chat
|
|
options:
|
|
temperature: 0.9
|
|
topP: 0.95
|
|
connection:
|
|
kind: key
|
|
key: =Env.OPENAI_API_KEY
|
|
outputSchema:
|
|
properties:
|
|
language:
|
|
kind: string
|
|
required: true
|
|
description: The language of the answer.
|
|
answer:
|
|
kind: string
|
|
required: true
|
|
description: The answer text.
|
|
type:
|
|
kind: string
|
|
required: true
|
|
description: The type of the response.
|