From 9f147ec61778a2ca22d1b6797c49b9dffe596883 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/templates/types/simple/fastapi/README-template.md b/templates/types/simple/fastapi/README-template.md index f0bfa5e0..38f3c4a3 100644 --- a/templates/types/simple/fastapi/README-template.md +++ b/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