-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simple-genai-server 0.2: Make autonomous mode effective
This change does a number of things: * Adds a flag for concurrent player "slots" to imitate more than a single player in a game server. * Each player slot now runs forever instead of exiting, so ditched the waitgroup. * Instead of strictly going for a specific number of turns, added a "stop phrase". With prompt engineering, we can instruct the Sim to say a phrase when its done - we then key on this and go one more turn in response and end that player. * Did some careful prompt engineering to make Sim kind of interesting. * Cleaned up logging. Added inference "rate" in b/s. * Fixed yamllint complaints. I've already pushed :0.2 if you want to test with this branch.
- Loading branch information
Showing
5 changed files
with
151 additions
and
94 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
Oops, something went wrong.