-
Notifications
You must be signed in to change notification settings - Fork 77
Add Go chat app sample #1078
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
Add Go chat app sample #1078
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Add a Go console chat application sample that integrates Azure App Configuration for dynamic AI settings and Azure OpenAI for chat completions.
- Introduce
main.gowith interactive chat logic, configuration loading, and OpenAI client setup - Provide
README.mddocumenting setup, usage, and troubleshooting
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| examples/Go/ChatApp/main.go | Added interactive chat app, Azure App Configuration loading, and Azure OpenAI client integration |
| examples/Go/ChatApp/README.md | Added documentation for sample prerequisites, configuration keys, usage, and troubleshooting |
Comments suppressed due to low confidence (2)
examples/Go/ChatApp/README.md:73
- [nitpick] The sample output shows "Exiting chat. Goodbye!", but in code it prints "Exiting Chat. Goodbye!" (capital C). Consider aligning the case in the README with the actual behavior.
Exiting chat. Goodbye!
examples/Go/ChatApp/README.md:36
- [nitpick] The README uses
ApiKey, while the struct field isAPIKey. Ensure the key name matches exactly or note how the provider handles case-insensitive mapping.
- `ChatApp:AzureOpenAI:ApiKey` - Key Vault reference to the API key for Azure OpenAI (optional)
No description provided.