Skip to content

Commit 1229cab

Browse files
committed
docs: project introduction & quick start guide
1 parent ee1fa56 commit 1229cab

File tree

1 file changed

+54
-1
lines changed

1 file changed

+54
-1
lines changed

README.md

+54-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,54 @@
1-
# smart-qa-admin
1+
# Smart QA Service: An Intelligent Knowledge Base
2+
The Smart QA Service harnesses the power of advanced technologies like Large Language Models (LLM) and Retrieval-Augmented Generation (RAG) to learn from user-customized knowledge bases. It is designed to deliver contextually relevant answers across a broad spectrum of inquiries, ensuring rapid and precise information retrieval. This capability not only enhances user experience but also supports a more efficient knowledge management process.
3+
4+
This project unveils an intuitive web-based administration interface for the Smart QA Service, meticulously designed to empower administrators with full control over the service's configuration and content. This administrative platform serves as the central hub for managing the underlying knowledge base, user interactions, and analytical insights.
5+
6+
Through this web interface, administrators can effortlessly curate and update the knowledge base to ensure the information remains current and relevant. It allows for the easy monitoring of user queries and feedback, enabling continuous improvement of the service based on real-world use.
7+
8+
---
9+
10+
# Quick Start Guide
11+
12+
1. clone project
13+
14+
```shell
15+
git clone https://github.com/open-kf/smart-qa-admin.git
16+
```
17+
18+
2. install dependencies
19+
20+
```shell
21+
cd smart-qa-admin
22+
npm install
23+
```
24+
25+
3. update environment variables
26+
27+
To ensure seamless communication between your client application and the backend service, especially when the server isn't running in the default environment or is configured to use a custom port, you need to specify the base URL of the [Smart QA Service API server](https://github.com/open-kf/smart-qa-service). This is done by setting the `VITE_BASE_URL` variable within the `.env` file to the URL where the server's API is accessible.
28+
29+
```bash
30+
# Example: Setting the Smart QA Service API base URL
31+
VITE_BASE_URL=https://smart-qa-service.com
32+
```
33+
34+
This step is crucial for directing your application to the correct server location, ensuring that all API requests are routed to the appropriate endpoint.
35+
36+
4. start the project
37+
38+
```shell
39+
npm run dev
40+
```
41+
42+
open the browser and visit `http://localhost:5277`
43+
44+
5. build the project
45+
46+
```shell
47+
npm run build
48+
```
49+
50+
This command triggers the build process defined in your `package.json`, resulting in a dist directory that contains the optimized version of your application ready for deployment.
51+
52+
6. deploy
53+
54+
You can deploy the built application to any hosting service that supports static file hosting, such as Vercel, Netlify, or GitHub Pages. Simply upload the contents of the dist directory to your chosen hosting provider, and your application will be live and accessible to users.

0 commit comments

Comments
 (0)