Fixed some miscellaneous warnings in the build process
And also updated games.yml and creds_example.yml
This commit is contained in:
parent
2e8e4daa25
commit
8316b03c8c
8 changed files with 28 additions and 13 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.1.0/) except date format. a-c-f-r-o
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
|
||||
- Added: Added a `'afk <msg>?` command which sets an afk message which will trigger whenever someone pings you
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using System.Text.Json.Serialization;
|
||||
#nullable disable
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace EllieBot.Modules.Games.Common.ChatterBot;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using System.Text.Json.Serialization;
|
||||
#nullable disable
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace EllieBot.Modules.Games.Common.ChatterBot;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using System.Text.Json.Serialization;
|
||||
#nullable disable
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace EllieBot.Modules.Games.Common.ChatterBot;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using System.Text.Json.Serialization;
|
||||
#nullable disable
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace EllieBot.Modules.Games.Common.ChatterBot;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using EllieBot.Modules.Searches.Common;
|
||||
#nullable disable
|
||||
using EllieBot.Modules.Searches.Common;
|
||||
using System.Net.Http.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# DO NOT CHANGE
|
||||
version: 7
|
||||
version: 9
|
||||
# Bot token. Do not share with anyone ever -> https://discordapp.com/developers/applications/
|
||||
token: ""
|
||||
# List of Ids of the users who have bot owner permissions
|
||||
|
|
|
@ -57,18 +57,26 @@ raceAnimals:
|
|||
# Which chatbot API should bot use.
|
||||
# 'cleverbot' - bot will use Cleverbot API.
|
||||
# 'gpt' - bot will use GPT API
|
||||
chatBot: Gpt
|
||||
chatBot: OpenAi
|
||||
chatGpt:
|
||||
# Url to any openai api compatible url.
|
||||
# Make sure to modify the modelName appropriately
|
||||
# DO NOT add /v1/chat/completions suffix to the url
|
||||
apiUrl: https://api.openai.com
|
||||
# Which GPT Model should bot use.
|
||||
# gpt35turbo - cheapest
|
||||
# gpt4o - more expensive, higher quality
|
||||
# gpt-3.5-turbo - cheapest
|
||||
# gpt-4o - more expensive, higher quality
|
||||
#
|
||||
modelName: Gpt35Turbo
|
||||
# How should the chat bot behave, what's its personality? (Usage of this counts towards the max tokens)
|
||||
# If you are using another openai compatible api, you may use any of the models supported by that api
|
||||
modelName: gpt-3.5-turbo
|
||||
# How should the chatbot behave, what's its personality?
|
||||
# This will be sent as a system message.
|
||||
# Usage of this counts towards the max tokens.
|
||||
personalityPrompt: You are a chat bot willing to have a conversation with anyone about anything.
|
||||
# The maximum number of messages in a conversation that can be remembered. (This will increase the number of tokens used)
|
||||
# The maximum number of messages in a conversation that can be remembered.
|
||||
# This will increase the number of tokens used.
|
||||
chatHistory: 5
|
||||
# The maximum number of tokens to use per GPT API call
|
||||
# The maximum number of tokens to use per OpenAi API call
|
||||
maxTokens: 100
|
||||
# The minimum number of tokens to use per GPT API call, such that chat history is removed to make room.
|
||||
minTokens: 30
|
||||
|
|
Loading…
Reference in a new issue