Skip to content

An application designed to interact with AI models such as OpenAI's ChatGPT and Google's Gemini fot text and image generation. Developed with Blazor and ASP.NET Core.

Notifications You must be signed in to change notification settings

zephyrquest/smartblaze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SmartBlaze

SmartBlaze is an application designed to integrate with AI models such as OpenAI's ChatGPT and Google's Gemini. It was developed as part of the university thesis project, drawing inspiration from Chatbox (https://github.com/Bin-Huang/chatbox). The application is mainly built with C# using Blazor and ASP.NET Core as its core frameworks.

SmartBlaze

SmartBlaze

Features and Capabilities

  • Interactive and smooth user interface to manage multiple conversations with chatbots.
  • Customizable sessions, allowing you to set system instructions to define chatbot behavior and adjust temperature to control the chatbot's creativity.
  • Wide selection of AI models from OpenAI and Google Gemini, offering more options to choose from.
  • Text stream activation for a more interactive conversation experience with the chatbot.
  • Code highlighting for various programming languages, enhancing readability and presentation.
  • Image generation capabilities using OpenAI's DALL-E models.
  • Image analysis by the chatbot with the ability to add images for processing (image vision).
  • File upload support, allowing the chatbot to access and analyze the contents of various types of files.
  • Cloud-based chat and configuration storage, enabling you to resume conversations across multiple devices.

How to Use the Application

To use SmartBlaze, you need an API key to interact with the chatbot models. You can obtain an API key from AI model providers like OpenAI and Google.

Setup

  1. Clone the Repository
    • Open a terminal and execute the following command:
      git clone https://github.com/zephyrquest/smartblaze.git
    • Navigate to the publish/SmartBlaze folder where the script files are located:
      cd smartblaze/publish/SmartBlaze
    • Inside this folder, you will find two script files:
      • smartblaze.bat (for Windows)
      • smartblaze.sh (for macOS/Linux)

Starting the Application

For Windows

  1. Run the Batch File
    • Open Command Prompt and navigate to the folder containing smartblaze.bat.
    • Run the batch file by executing:
      start smartblaze.bat
    • Alternatively, you can simply double-click on smartblaze.bat.
    • The script will automatically open your default web browser and navigate to:
      https://localhost:7040
      

For macOS or Linux

  1. Run the Shell Script
    • Open a terminal and navigate to the folder containing smartblaze.sh.
    • Ensure the script has execution permissions. If not, run:
      chmod +x smartblaze.sh
    • Start the application by executing the script:
      ./smartblaze.sh
    • The script will open your default web browser and navigate to:
      https://localhost:7040
      

Authentication

  1. Log In or Register
    • If you are using the application for the first time, you will need to register a new user account.
    • Click on the "Register" button and fill in the required details, including a username and password.
    • If you already have an account, click on "Log In" and enter your credentials.

Important Notes

  • API Key: Ensure you have obtained an API key from OpenAI or Google before using the chatbot functionality.
  • Browser Compatibility: For the best experience, use a modern web browser like Chrome, Firefox, or Edge.

About

An application designed to interact with AI models such as OpenAI's ChatGPT and Google's Gemini fot text and image generation. Developed with Blazor and ASP.NET Core.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published