NPCConverations/target/classes/config.yml
2024-12-24 14:12:40 +01:00

26 lines
603 B
YAML

# https://beta.openai.com/account/api-keys
API-KEY: "key"
chatgpt:
# https://platform.openai.com/docs/models/
model: "gpt-3.5-turbo"
temperature: 0.9
max-tokens: 150
top-p: 1.0
frequency-penalty: 0.0
presence-penalty: 0.6
# the format of the conversation messages
format:
- "&b%player%: &7%message%"
- "&b%npc%: &a%message%"
use-default-chat: false
send-messages-to-console: true
# how long an inactive conversation will last before it expires (in minutes)
conversation-expiration-duration: 3
# the range in which a player can talk to an NPC (in blocks)
npc-conversation-range: 5