Skip to content

Commit 918609a

Browse files
istranicalgitbook-bot
authored andcommitted
GITBOOK-20: change request with no subject merged in GitBook
1 parent 19ebd13 commit 918609a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quickstart.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def embedding_function(texts, model="text-embedding-ada-002"):
5959
texts = [texts]
6060

6161
texts = [t.replace("\n", " ") for t in texts]
62+
6263
return [data.embedding for data in openai.embeddings.create(input = texts, model=model).data]
6364
```
6465

0 commit comments

Comments
 (0)