Skip to content

[feature] Leverage gemini to auto-label tomes based on tome and params #995

@hulto

Description

@hulto

Is your feature request related to a problem? Please describe.
Users don't give tomes labels making it hard to review activity

Describe the solution you'd like
Use gemini to write a short quest name instead of default generated tomes

  • Add an environment variable and TF var to enable AI features. This should control all AI features in Realm.
  • Grant tavern access to the tennants Gemini:
    • Ideally using IAM permissions and terraform bindings
    • Worst case pass Gemini API key to the server through environment variables.
  • Add a backend API endpoint for AI this may need to be a new route in app.go with a new Endpoint specific to AI. This should require Tavern auth.
  • Create an API for tome name generation. This should take-in:
    • Tome
    • Tome parameters
    • Beacon's being tasked (specifics like OS, group, or service may be especially useful)
  • Prompt gemini to write a short quest name
  • Modify the create quest flow to call this new API.
  • If the API is slow ensure the name field displays a loading indicator but still allows a user to enter their own or use the randomly generated name. Consult with @cmp5987 before starting this part.

Describe alternatives you've considered
Na

Additional context
Na

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions