minor typo (#10)
Browse files- minor typo (715cb9ff57295a1f320ccf6a6e3c42a5f1a438e6)
Co-authored-by: Nicholas Broad <nbroad@users.noreply.huggingface.co>
README.md
CHANGED
@@ -54,7 +54,7 @@ RAG = RAGPretrainedModel.from_pretrained("answerdotai/answerai-colbert-small-v1"
|
|
54 |
|
55 |
docs = ['Hayao Miyazaki is a Japanese director, born on [...]', 'Walt Disney is an American author, director and [...]', ...]
|
56 |
|
57 |
-
RAG.index(
|
58 |
|
59 |
query = 'Who directed spirited away?'
|
60 |
results = RAG.search(query)
|
|
|
54 |
|
55 |
docs = ['Hayao Miyazaki is a Japanese director, born on [...]', 'Walt Disney is an American author, director and [...]', ...]
|
56 |
|
57 |
+
RAG.index(docs, index_name="ghibli")
|
58 |
|
59 |
query = 'Who directed spirited away?'
|
60 |
results = RAG.search(query)
|