Commit 2f091845 authored by uuo00_n's avatar uuo00_n

docs: 更新README中的许可证和联系方式信息

parent 5b8eb453
...@@ -42,18 +42,19 @@ LLM-Filter 是一个基于大型语言模型(LLM)的智能对话系统,集成 ...@@ -42,18 +42,19 @@ LLM-Filter 是一个基于大型语言模型(LLM)的智能对话系统,集成
### 安装步骤 ### 安装步骤
1. 克隆项目仓库 1. 克隆项目仓库
```bash ```bash
git clone <repository-url> git clone <repository-url>
cd llm-filter cd llm-filter
``` ```
2. 安装依赖 2. 安装依赖
```bash ```bash
pip install -r requirements.txt pip install -r requirements.txt
``` ```
3. 配置环境变量 3. 配置环境变量
创建 `.env` 文件并设置以下变量: 创建 `.env` 文件并设置以下变量:
``` ```
MONGODB_URL=mongodb://localhost:27017 MONGODB_URL=mongodb://localhost:27017
DATABASE_NAME=llm_filter DATABASE_NAME=llm_filter
...@@ -63,13 +64,13 @@ LLM-Filter 是一个基于大型语言模型(LLM)的智能对话系统,集成 ...@@ -63,13 +64,13 @@ LLM-Filter 是一个基于大型语言模型(LLM)的智能对话系统,集成
OLLAMA_API_BASE_URL=http://localhost:11434 OLLAMA_API_BASE_URL=http://localhost:11434
OLLAMA_MODEL=llama2 OLLAMA_MODEL=llama2
``` ```
4. 初始化数据库 4. 初始化数据库
```bash ```bash
python init_db.py python init_db.py
``` ```
5. 启动应用 5. 启动应用
```bash ```bash
uvicorn app.main:app --reload uvicorn app.main:app --reload
``` ```
...@@ -187,8 +188,10 @@ curl -X POST "http://localhost:8000/api/v1/conversations/{conversation_id}/messa ...@@ -187,8 +188,10 @@ curl -X POST "http://localhost:8000/api/v1/conversations/{conversation_id}/messa
## 许可证 ## 许可证
[指定许可证类型] MIT License
Copyright (c) 2025 uuo00_n
## 联系方式 ## 联系方式
[提供联系信息] 作者:uuo00_n
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment