This example implements a multi-LLM (Large Language Model) chat application. Key considerations include:
- The application uses two models: GPT-4o from Azure OpenAI and Phi4 from Ollama running locally.
- The
IChatClient
interface implementation manages chat clients and conversation histories. - The interface is built with DevExpress Blazor components: DxAIChat, DxComboBox, and DxButton.
This example is based on the following blog post: DevExpress Blazor AI Chat — Build a Multi-LLM Chat Application.
Note
Before launch, add your credentials in the appsettings.Development.json file.
- Blazor AI Chat - How to add the DevExpress Blazor AI Chat component to your next Blazor, MAUI, WPF, and WinForms application
- Blazor AI Chat — Implement Function/Tool Calling
- Rich Text Editor and HTML Editor for Blazor - How to integrate AI-powered extensions
(you will be redirected to DevExpress.com to submit your response)