Skip to content

Conversation

@shinyay
Copy link
Owner

@shinyay shinyay commented Jun 20, 2024

Related to #22

Updates the API endpoint to better align with the intended functionality of generating jokes through Azure OpenAI.

  • Renames the endpoint from /prompt to /ai/joke to reflect its purpose more accurately.
  • Changes the method name from callAzureOpenAI to generate to clarify the action being performed.
  • Modifies the request parameter from prompt to message, aligning with the issue's specification.
  • Updates the default message to "Tell me a funny joke in Japanese", making the endpoint's default behavior more specific to generating jokes.

For more details, open the Copilot Workspace session.

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.

2 participants