-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AI chat: Added an option to prevent the bots from talking as the play…
…er by only using the response up the point the player starts talking
- Loading branch information
1 parent
233bb23
commit 10e3b1e
Showing
5 changed files
with
21 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
namespace ai | ||
class PlayerbotLLMInterface | ||
{ | ||
class PlayerbotLLMInterface | ||
{ | ||
public: | ||
PlayerbotLLMInterface() {} | ||
static std::string Generate(const std::string& prompt); | ||
public: | ||
PlayerbotLLMInterface() {} | ||
static std::string Generate(const std::string& prompt); | ||
|
||
static std::vector<std::string> ParseResponse(const std::string& response, std::string startPattern, std::string endPattern); | ||
private: | ||
|
||
}; | ||
} | ||
static std::vector<std::string> ParseResponse(const std::string& response, std::string startPattern, std::string endPattern); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters