Skip to content

Commit df58b0d

Browse files
authored
Update fastRAG installation flow. (#243)
1 parent 38b047d commit df58b0d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

integrations/fastrag.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,15 @@ Preliminary requirements:
111111
To set up the software, clone the project and run the following, preferably in a newly created virtual environment:
112112

113113
```bash
114-
git clone https://github.com/IntelLabs/fastRAG.git
115-
cd fastrag
116-
pip install .
114+
pip install fastrag
115+
```
116+
117+
There are [additional dependencies](https://github.com/IntelLabs/fastRAG?tab=readme-ov-file#extra-packages) that you can install based on your specific usage of fastRAG.
118+
119+
For the example below, we need to install extra packages via the following command:
120+
121+
```bash
122+
pip install fastrag[intel, openvino]
117123
```
118124

119125
## Usage
@@ -152,7 +158,7 @@ generator = OpenVINOGenerator(
152158
pipe = Pipeline()
153159

154160
pipe.add_component("retriever", InMemoryBM25Retriever(document_store=store))
155-
pipe.add_component("ranker", ransformersSimilarityRanker())
161+
pipe.add_component("ranker", TransformersSimilarityRanker())
156162
pipe.add_component("prompt_builder", PromptBuilder(template=prompt_template))
157163
pipe.add_component("llm", generator)
158164

0 commit comments

Comments
 (0)