bclavie nbroad HF staff commited on
Commit
92c2a74
1 Parent(s): 0aa70ad

minor typo (#10)

Browse files

- minor typo (715cb9ff57295a1f320ccf6a6e3c42a5f1a438e6)


Co-authored-by: Nicholas Broad <nbroad@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +1 -1
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(documents, index_name="ghibli")
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)