This project is an AI chat application that demonstrates how to chat with custom data using an AI language model. Please note that this template is currently in an early preview stage. If you have feedback, please take a brief survey.
Note
Before running this project you need to configure the API keys or endpoints for the providers you have chosen. See below for details specific to your choices.
To use models hosted by GitHub Models, you will need to create a GitHub personal access token with models:read permissions, but no other scopes or permissions. See Prototyping with AI models and Managing your personal access tokens in the GitHub Docs for more information.
From the command line, configure your token for this project using .NET User Secrets by running the following commands:
cd <<your-project-directory>>
dotnet user-secrets set GitHubModels:Token YOUR-TOKENLearn more about prototyping with AI models using GitHub Models.