From c5b3bc48ad3d0299163758f0123696c4cfab97e1 Mon Sep 17 00:00:00 2001 From: "majiahui@haimaqingfan.com" Date: Tue, 30 Jan 2024 10:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..272b626 --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +## 安装环境 + +```bash +conda create -n your_env_name python=3.8 +pip install -r requirements.txt +``` + +## 启动项目 +启动此项目前必须启动 vllm-main 项目 + +```bash +conda activate llama_paper +bash run_model.sh +bash run_api.sh +bash run_app_search.sh +``` + +## 测试 + +{ + "orderid": "EEAE880E-BE95-11EE-8D23-D5E5C66DD02E" +} + +```bash +curl -H "Content-Type: application/json" -X POST -d '{"orderid": "EEAE880E-BE95-11EE-8D23-D5E5C66DD02E"}' http://101.37.83.210:16005/search +``` + +返回"status_code"不出现 400 则调用成功 + +