Skip to content

Conversation

adamhindry
Copy link

Purpose

This adds examples, features and limitations modals to the home screen. These are dynamically drawn from lists.

Does this introduce a breaking change?

To my knowledge this does not break anything and works with all screen types.

[ ] Yes
[x ] No

Does this require changes to learn.microsoft.com docs?

This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.

[ ] Yes
[x ] No

Type of change

[ ] Bugfix
[x ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Code quality checklist

See CONTRIBUTING.md for more details.

  • [x ] The current tests all pass (python -m pytest).
  • [x ] I added tests that prove my fix is effective or that my feature works
  • [x ] I ran python -m pytest --cov to verify 100% coverage of added lines
  • [x ] I ran python -m mypy to check for type errors
  • I either used the pre-commit hooks or ran ruff and black manually on my code.

Refactor code in Chat component
… markdown formatting for natural language responses
…dependencies, and upgrade vite to version 5.4.6
…ved readability

Revert changes made by VSCode/Copilot
Update prompt to limit responses to indexed data.
Removing block from going outside sources from user prompt, it's been moved to the main prompt
tweaking limits down for token usage - needs testing
Tweaking/aligning to main approach.py
Adjustment to prompt to refine:
- Using source index only
- Table formatting
- Clarifying questions
- Refactored the chat approach code in `chatapproach.py` to improve readability and maintainability.
- Updated the assistant's prompts to provide a more informative introduction about GovGPT and its role as a New Zealand Government chat companion.

Closes Azure-Samples#123
Update ExmapleList to reflect changes few_shots
@adamhindry adamhindry closed this Oct 13, 2024
@adamhindry adamhindry deleted the ui-update/display-features-and-limitations-on-homepage branch October 13, 2024 20:26
@adamhindry adamhindry restored the ui-update/display-features-and-limitations-on-homepage branch October 13, 2024 20:26
@adamhindry adamhindry deleted the ui-update/display-features-and-limitations-on-homepage branch October 14, 2024 02:18
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