rename docqa.py->rag.py (#10353)

This commit is contained in:
Zhicun 2024-03-08 16:07:09 +08:00 committed by GitHub
parent f1825d7408
commit 2a10b53d73
2 changed files with 1 additions and 1 deletions

View file

@ -29,7 +29,7 @@ python transformers_int4/chat.py -m <path_to_model> [-q <your_question>]
### Example: RAG (Retrival Augmented Generation)
The RAG example ([rag.py](./transformers_int4/docqa.py)) shows how to load the input text into vector database, and then use `load_qa_chain` to build a retrival pipeline.
The RAG example ([rag.py](./transformers_int4/rag.py)) shows how to load the input text into vector database, and then use `load_qa_chain` to build a retrival pipeline.
To run the example, execute the following command in the current directory: