Files
WenjiaoYue b721c256f9 Fix Domain Access Issue in Latest Vite Version (#1444)
Fix the restriction on using domain names when users are using the latest version of Vite

When users use the new version of Vite, the UI cannot be accessed via domain names due to Vite's new rules. This fix adds the corresponding parameters according to Vite's new rules, ensuring that users can access the frontend via domain names when building the UI.

Fixes #1441

Co-authored-by: WenjiaoYue <wenjiao.yue@intel.com>
2025-01-21 23:28:37 +08:00
..
2024-11-15 13:17:06 +08:00
2024-10-30 08:52:25 -07:00
2024-10-30 08:52:25 -07:00
2024-10-30 08:52:25 -07:00
2024-10-30 08:52:25 -07:00
2024-10-30 08:52:25 -07:00
2024-10-30 08:52:25 -07:00
2024-10-30 08:52:25 -07:00
2024-10-30 08:52:25 -07:00
2024-10-30 08:52:25 -07:00
2024-10-30 08:52:25 -07:00
2024-10-30 08:52:25 -07:00

ChatQnA Customized UI

📸 Project Screenshots

project-screenshot project-screenshot project-screenshot

🧐 Features

Here're some of the project's features:

  • Start a Text ChatInitiate a text chat with the ability to input written conversations, where the dialogue content can also be customized based on uploaded files.
  • Clear: Clear the record of the current dialog box without retaining the contents of the dialog box.
  • Chat history: Historical chat records can still be retained after refreshing, making it easier for users to view the context.
  • Scroll to Bottom / Top: The chat automatically slides to the bottom. Users can also click the top icon to slide to the top of the chat record.
  • End to End Time: Shows the time spent on the current conversation.
  • Upload File: The choice between uploading locally or copying a remote link. Chat according to uploaded knowledge base.
  • Delete File: Delete a certain uploaded file.

🛠️ Get it Running

  1. Clone the repo.

  2. cd command to the current folder.

  3. Modify the required .env variables.

    CHAT_BASE_URL = ''
    
    UPLOAD_FILE_BASE_URL = ''
    
    GET_FILE = ''
    
    DELETE_FILE = ''
    
    
  4. Execute npm install to install the corresponding dependencies.

  5. Execute npm run dev in both environments