Recommend Poi

Recommend a POI in a city (schema + deterministic result).

trpc-group Updated

File contents

recommend_poi

This skill is used by the dynamic structured output demo.

Output JSON Schema

{
  "type": "object",
  "properties": {
    "poi": {
      "type": "string",
      "description": "Point of interest"
    },
    "city": {
      "type": "string",
      "description": "City name"
    },
    "score": {
      "type": "integer",
      "description": "A deterministic score"
    }
  },
  "required": [
    "poi",
    "city",
    "score"
  ],
  "additionalProperties": false
}

Commands

Print JSON result to stdout:

cat result.json

trpc-group/trpc-agent-go/tree/main/examples/skilldynamicschema/skills/recommend_poi commit df77fe9958

Frequently asked questions

npx skillmds@latest add trpc-group/recommend-poi