Alexandra afba004d85 Update GPT ChatterBot
* Updates endpoint from v1/completions to v1/chat/completions
* Add SharpTokens as a library to calculate input token usage
* Subtract input tokens from max_tokens to ensure the API tokens don't exceed the max specified
* Add Chat history support since this API supports it
* Add a personality prompt to tweak the way the bot behaves
* Add a min_tokens config to increase the quality of chat messages when history is enabled
* Adjust the response function to throw an exception so that a null message isn't added to the list.
2024-01-16 09:12:14 +00:00
2021-09-06 21:29:22 +02:00
2023-05-20 22:42:56 +00:00
2024-01-16 09:12:14 +00:00
2022-07-27 06:37:04 +02:00
2021-09-06 21:34:29 +02:00
2022-06-16 15:56:30 +00:00
2022-07-26 08:37:27 +02:00
2022-08-11 11:00:22 +00:00
2021-09-06 21:34:54 +02:00
Description
No description provided
Readme 74 MiB
Languages
C# 99.7%
Inno Setup 0.1%