thomas-chong commited on
Commit
93f8023
·
1 Parent(s): f6383de

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md CHANGED
@@ -110,6 +110,22 @@ python generate_video.py \
110
  --max_topic_concurrency 20 \
111
  ```
112
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  We support more options for generation, see below for more details:
114
  ```shell
115
  usage: generate_video.py [-h]
 
110
  --max_topic_concurrency 20 \
111
  ```
112
 
113
+ ### Generation with RAG
114
+ Before using RAG, download the RAG documentation from this [Google Drive link](https://drive.google.com/file/d/1Tn6J_JKVefFZRgZbjns93KLBtI9ullRv/view?usp=sharing). After downloading, unzip the file. For example, if you unzip it to `data/rag/manim_docs`, then you should set `--manim_docs_path` to `data/rag/manim_docs`. The vector database will be created the first time you run with RAG.
115
+
116
+ ```shell
117
+ python generate_video.py \
118
+ --model "openai/o3-mini" \
119
+ --helper_model "openai/o3-mini" \
120
+ --output_dir "output/with_rag/o3-mini/vtutorbench_easy/math" \
121
+ --topic "Big O notation" \
122
+ --context "most common type of asymptotic notation in computer science used to measure worst case complexity"
123
+ --use_rag \
124
+ --chroma_db_path "data/rag/chroma_db" \
125
+ --manim_docs_path "data/rag/manim_docs" \
126
+ --embedding_model "vertex_ai/text-embedding-005"
127
+ ```
128
+
129
  We support more options for generation, see below for more details:
130
  ```shell
131
  usage: generate_video.py [-h]