You need to provide deployment, endpoint and apikey for your deployments. Set these as environment variables.
export deployment="your-deployment"
export endpoint="your-endpoint"
export apikey="your-apikey"
You can also use dotnet user-secrets
to store these values.
dotnet user-secrets init
dotnet user-secrets set "deployment" "your-deployment"
dotnet user-secrets set "endpoint" "your-endpoint"
dotnet user-secrets set "apikey" "your-apikey"
An example of a basic chatbot with a system prompt that set the tone of the conversation.
Demos of using plugins and function calling. Includes built-in functions and custom functions.
To use the Weather plugin, you need to provide an API key for OpenWeatherMap. Set this as a user secret.
dotnet user-secret set "OpenWeather:ApiKey" "your-apikey"
An example of a chatbot that can be embedded in a web page.
An example of using a vision model to extract details from an image. In this particular case it extracts company details from a PUB agreement.