minor typo
Browse files
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)
|