From 57ff51823c90ffc392b5f95da3c991c6cca80cad Mon Sep 17 00:00:00 2001 From: thucpn <thucsh2@gmail.com> Date: Tue, 26 Dec 2023 16:12:09 +0700 Subject: [PATCH] docs: update readme for simple template --- .../templates/types/simple/fastapi/README-template.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/create-llama/templates/types/simple/fastapi/README-template.md b/packages/create-llama/templates/types/simple/fastapi/README-template.md index f0bfa5e08..38f3c4a3f 100644 --- a/packages/create-llama/templates/types/simple/fastapi/README-template.md +++ b/packages/create-llama/templates/types/simple/fastapi/README-template.md @@ -17,7 +17,13 @@ Example `backend/.env` file: OPENAI_API_KEY=<openai_api_key> ``` -Second, run the development server: +Second, generate the embeddings of the documents in the `./data` directory (if this folder exists - otherwise, skip this step): + +``` +python app/engine/generate.py +``` + +Third, run the development server: ``` python main.py -- GitLab