Update README.md

#4
by Hanieh - opened
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -1065,7 +1065,7 @@ docs = ["The capital of France is Paris",
1065
 
1066
 
1067
  #Encode your documents with input type 'search_document'
1068
- doc_emb = co.embed(docs, input_type="search_document", model="embed-english-v3.0").embeddings
1069
  doc_emb = np.asarray(doc_emb)
1070
 
1071
 
 
1065
 
1066
 
1067
  #Encode your documents with input type 'search_document'
1068
+ doc_emb = co.embed(texts=docs, input_type="search_document", model="embed-english-v3.0").embeddings
1069
  doc_emb = np.asarray(doc_emb)
1070
 
1071