---
title: "Creating a Custom Chatbot with OpenAI APIs | Blazor and .NET MAUI Integration (Workshop Show Notes)"
published_at: "2024-09-05T11:22:57+00:00"
modified_at: "2026-01-14T09:39:14+00:00"
url: "https://www.syncfusion.com/blogs/post/create-custom-chatbot-with-openai-api"
excerpt: "This blog provides the show notes for our workshop, “Creating a Custom Chatbot with OpenAI APIs | Blazor and .NET MAUI Integration.”"
taxonomy_category:
  - ".NET MAUI"
  - "Blazor"
  - "Desktop"
  - "Development"
  - "Mobile"
  - "Smart AI components"
  - "UI"
  - "Web"
taxonomy_post_tag:
  - ".NET MAUI"
  - "AI"
  - "Blazor"
  - "desktop"
  - "development"
  - "MAUI"
  - "Mobile"
  - "Web"
---

# Creating a Custom Chatbot with OpenAI APIs | Blazor and .NET MAUI Integration (Workshop Show Notes)

[Carter Harris](https://www.syncfusion.com/blogs/author/carterh)

![Creating a Custom Chatbot with OpenAI APIs Blazor and .NET MAUI Integration (Workshop Show Notes)](https://www.syncfusion.com/blogs/wp-content/uploads/2024/09/Creating-a-Custom-Chatbot-with-OpenAI-APIs-Blazor-and-.NET-MAUI-Integration-Workshop-Show-Notes.jpg)


This blog provides show notes for our August 22, 2024, workshop, “Creating a Custom Chatbot with OpenAI APIs | Blazor and .NET MAUI Integration.” The workshop was presented and hosted by Syncfusion Product Manager [Michael Prabhu M](https://www.linkedin.com/in/michael-prabhu/)
. It was ideal for beginners and enthusiasts who wanted to explore AI-driven file search and gain insights into cross-platform integration with .NET MAUI.

## Overview

In this workshop, we provided an immersive look at how to build a custom chatbot using OpenAI APIs, starting with Blazor and extending to a .NET MAUI Blazor hybrid app.

## Agenda

- **Create a vector store:** Learn how to build and manage a vector store to handle file data efficiently.
- **Develop an AI assistant:** Implement an AI-powered assistant capable of intelligent file search and response generation.
- **Upload files:** Upload and index files in your vector store for enhanced search capabilities.
- **Link threads:** Create and manage conversation threads to improve interaction and context understanding.
- **Integrate with .NET MAUI:** See how to access and reuse your Blazor-based chatbot in a .NET MAUI Blazor hybrid app, combining the best of both technologies.

## On-demand version

Missed our live workshop? No worries! [Sign up](https://my.demio.com/ref/ZiOYeVJa5DNIX0lO)
 now to access the on-demand session and watch it at your convenience.

This workshop provides hands-on experience building apps using Syncfusion [Blazor](https://www.syncfusion.com/blazor-components)
 components. Please ensure you have [access](https://www.syncfusion.com/downloads/blazor?tag=es-seo-ft-blazor-banner-trial)
 to these components before starting the webinar recording.

Follow the instructions in this link to generate a free trial license key: [License Key Generation](https://blazor.syncfusion.com/documentation/getting-started/license-key/how-to-generate?utm_source=webinar&utm_medium=event&utm_campaign=webinar_blazorevaug24)
.  
Follow the instructions in this link to create your OpenAI secret key: [API Keys—OpenAI API](https://platform.openai.com/api-keys)
.

## Q&A

**Q: Are there any disadvantages to choosing .NET 8?**

A: No, we don’t see any disadvantages in .NET 8.

**Q: Once the app is completed, how do you publish it through a Docker image?**

A: Publishing in Docker should be easy once you have completed the app using our documentation. We will try to create a YouTube video for this.

**Q: Where can we find the other strings to use different OPENAI_MODELs?**

A: In the documentation, I have used ChatGPT 3.5 Turbo and GPT 4 models. You can view these APIs at [https://platform.openai.com/docs/models](https://platform.openai.com/docs/models)
.

**Q: So, I would switch the endpoint if I want to start fresh again without context, correct?**

A: Yes, you should switch the endpoint. You can check the available endpoints at [this OpenAI link](https://platform.openai.com/docs/models/default-usage-policies-by-endpoint)
.

**Q: I see the document on GitHub.**** Are you planning on having an example on GitHub for us to download?**

A: Yes, we will soon add this to our GitHub repo, but we cannot set a date for that.

**Q: So, this can also allow me to create multiple assistants in the chat?**

A: Yes, you can create multiple assistants in the chat.

**Q: I just got caught up. Where do we get the file restaurant_menu.txt?**

A: It is available in [this GitHub link](https://github.com/SyncfusionExamples/create-a-custom-chat-bot-with-openai-apis-blazor-and-maui-integration)
.

**Q: Do we face file ownership issues still?**

A: No, we don’t face any file ownership issues.

**Q: Can Markdown support be added to the chat?**

A: Yes, you can add Markdown support. When we deserialize the JSON, we can add code accordingly to evaluate the Markdown.

**Q: Can the search work with DB and or Excel?**

A: Yes, the search will also work for DB and Excel.

**Q: Can you recommend any particular vector store?**

A: We don’t recommend a specific database, but any vector database should be compatible.

**Q: Do you have a specific YouTube channel or videos with other tutorials?**

A: Yes, we do. Please check out the [Syncfusion channel](https://www.youtube.com/@SyncfusionInc)
. If you do not find the tutorial you are looking for, let us know in the comments. We always take suggestions.

## Summary

During this workshop, we demonstrated how to build a custom chatbot using OpenAI APIs. We hope you enjoyed it. Please watch for our future Blazor and .NET MAUI workshops and webinars.

## Recommended resources

- [Easily Build ChatGPT-like App in .NET MAUI using OpenAI APIs](https://www.syncfusion.com/blogs/post/dotnet-maui-chatgpt-like-app-using-openai)
- [Simple Steps to Integrate OpenAI (ChatGPT) with Syncfusion’s Blazor Rich Text Editor](https://www.syncfusion.com/blogs/post/integrate-chatgpt-blazor-rich-text-editor)
- [Creating a .NET MAUI Smart PDF Viewer App with Auto-Summary Generation Using OpenAI’s ChatGPT](https://www.syncfusion.com/blogs/post/dotnet-maui-smart-pdf-viewer-using-openai)
