Skip to content

Custom Configuration Example¶

Prompty can use custom configurations for models.

Refer to the basic.prompty file for more examples.

YAML
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
---
name: Custom Configuration Example
description: A prompt that uses custom configurations for models
authors:
  - example_author
model:
  api: chat
  configuration:
    azure_deployment: gpt-35-turbo
  parameters:
    max_tokens: 1000
sample:
  question: What is the weather like today?
---
system:
You are a helpful assistant.
user:
{{question}}