Files
GenAIExamples/ChatQnA/ui/svelte/README.md
lvliang-intel 2aa6b7e49c Rename UI code directory (#93)
* Rename UI code directory

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
2024-04-19 22:50:26 +08:00

1.3 KiB
Raw Blame History

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.
  • Upload File: The choice between uploading locally or copying a remote link. Chat according to uploaded knowledge base.
  • 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.

🛠️ Get it Running:

  1. Clone the repo.

  2. cd command to the current folder.

  3. Modify the required .env variables.

    DOC_BASE_URL = ''
    
  4. Execute npm install to install the corresponding dependencies.

  5. Execute npm run dev in both environments