-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simple-genai-server 0.2: Make autonomous mode effective #3693
Conversation
Build Failed 😱 Build Id: e5086b83-f5fe-49ee-b5b6-f9ed4a7aaed1 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: c9fae2af-1b5b-4473-8b66-7b000eee1e6f The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Build Succeeded 👏 Build Id: 69342240-de0e-4202-9efe-79c407ea3594 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM -- Only comment is to update the README
agones/examples/simple-genai-server/README.md
Line 118 in 340c39a
In autochat mode the game server will shutdown automatically once the chat is complete. |
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.
Build Succeeded 👏 Build Id: 73cb7b56-f840-41ff-ad8b-05016d920700 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
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.
I've already pushed :0.2 if you want to test with this branch.