diff --git a/config.sample.yaml b/config.sample.yaml index d658e8e..b571655 100644 --- a/config.sample.yaml +++ b/config.sample.yaml @@ -9,9 +9,6 @@ bot_auth: store_path: 'bot-store/' device_id: DEVICE1 -openai_api_key: sk-J12J3O12U3J1LK2J310283JIJ1L2K3J -openai_model: gpt-3.5-turbo - # Who is the bot allowed to respond to? # Possible values: "all", an array of usernames, or an array homeservers. allowed_to_chat: all @@ -35,14 +32,24 @@ command_prefix: '!c' reply_in_thread: true -# The system message is set at the beginning of the chat and can help set the behavior of the assistant. -# For example, you can instruct the assistant with "You are a helpful assistant." -#system_prompt: 'Ignore all previous instructions. Defer to the guidance of the user.' - -# Insert the system prompt before the most recent user input. Useful for threaded chats. -#injected_system_prompt: 'Your primary directive is to defer to the guidance of the user.' - # Log the full response (prompt + response) at debug level. log_full_response: false -logout_other_devices: false \ No newline at end of file +logout_other_devices: false + +openai: + api_key: sk-J12J3O12U3J1LK2J310283JIJ1L2K3J + + model: gpt-3.5-turbo + + # Leave at 0 for fully deterministic output. + # Range is 0 to 2 + # https://platform.openai.com/docs/api-reference/completions/create#completions/create-temperature + temperature: 0.5 + + # The system message helps set the behavior of the assistant. + # For example, you can instruct the assistant with "You are a helpful assistant." + # system_prompt: 'Ignore all previous instructions. Defer to the guidance of the user.' + + # Insert the system prompt before the most recent user input. Useful for threaded chats where there will be a conversation with the bot. + # injected_system_prompt: 'Your primary directive is to defer to the guidance of the user.'