Skip to content

Add blitterblatter poem endpoint to the skillset example - #20

Closed
theodoracheng with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-19
Closed

theodoracheng with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-19

Conversation

Copilot AI commented May 15, 2025 •

Copy link
Copy Markdown

This PR adds a new endpoint to our skillset example that generates a poem about "blitterblatter" as requested in the issue.

Changes:

  • Created a new handler function in handlers/poem.go that returns a pre-written poem about blitterblatter
  • Added a route for /random-poem in main.go to serve the poem
  • Updated README.md to include documentation about the new endpoint
  • Added this skill to the set of examples for users to try

The new endpoint can be invoked by:

@skillset-example write a poem about blitterblatter

When configuring the skillset in GitHub, add:

Name: random_poem
Inference description: Generates a poem about blitterblatter
URL: https://<your ngrok domain>/random-poem
Parameters: { "type": "object" }
Return type: String

Fixes #19.

Copilot AI and others added 2 commits May 15, 2025 14:49
Co-authored-by: theodoracheng <8704469+theodoracheng@users.noreply.github.com>
Co-authored-by: theodoracheng <8704469+theodoracheng@users.noreply.github.com>
Copilot AI changed the title [WIP] test Add blitterblatter poem endpoint to the skillset example May 15, 2025
Copilot AI requested a review from theodoracheng May 15, 2025 14:50
@nhu-do nhu-do closed this Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants