Skip to content
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

Merged
merged 2 commits into from Mar 11, 2024

Conversation

zmerlynn
Copy link
Collaborator

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.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: e5086b83-f5fe-49ee-b5b6-f9ed4a7aaed1

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

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:

  • git fetch https://github.com/googleforgames/agones.git pull/3693/head:pr_3693 && git checkout pr_3693
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.39.0-dev-dfc08f3-amd64

@agones-bot
Copy link
Collaborator

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:

  • git fetch https://github.com/googleforgames/agones.git pull/3693/head:pr_3693 && git checkout pr_3693
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.39.0-dev-e541dd4-amd64

Copy link
Collaborator

@igooch igooch left a 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

In autochat mode the game server will shutdown automatically once the chat is complete.
with the new behavior.

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.
@agones-bot
Copy link
Collaborator

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:

  • git fetch https://github.com/googleforgames/agones.git pull/3693/head:pr_3693 && git checkout pr_3693
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.39.0-dev-60a1ed1-amd64

@zmerlynn zmerlynn merged commit d733a6c into googleforgames:main Mar 11, 2024
4 checks passed
@Kalaiselvi84 Kalaiselvi84 added kind/feature New features for Agones and removed kind/other labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New features for Agones size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants