nbroad HF staff commited on
Commit
715cb9f
1 Parent(s): 0aa70ad

minor typo

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