Skip to content

Conversation

@JialinHuang803
Copy link
Member

Knowledge Source Addition

Documentation Source Details

6. Validation and Testing

Before submitting your PR, ensure:

  1. Schema Validation: Your configuration validates against knowledge-config.schema.json
  2. Repository Access: The bot can access your repository with the specified authentication
  3. Path Verification: The documentation paths exist and contain relevant content
  4. No Sensitive Data: Ensure no internal or sensitive information is in public paths
  5. Proper Authentication: If using private repositories, ensure proper environment variables are configured

Local Validation

You can validate your configuration locally:

1. Add a new source constant at https://github.com/wanlwanl/wanl-fork-azure-sdk-tools/blob/azure-sdk-ai-bot/tools/sdk-ai-bots/azure-sdk-qa-bot-backend/model/completion.go
2. Add the new source to the tenant config: https://github.com/wanlwanl/wanl-fork-azure-sdk-tools/blob/azure-sdk-ai-bot/tools/sdk-ai-bots/azure-sdk-qa-bot-backend/config/tenant.go
3. Follow the README, test locally: https://github.com/wanlwanl/wanl-fork-azure-sdk-tools/blob/azure-sdk-ai-bot/tools/sdk-ai-bots/azure-sdk-qa-bot-backend/README.md

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.

1 participant