improve embeddings API results

This commit is contained in:
josc146
2023-07-25 20:30:43 +08:00
parent 77868c798b
commit 1df345b5eb
4 changed files with 11 additions and 2 deletions

View File

@@ -91,6 +91,9 @@ body.json:
## Embeddings API Example
Note: v1.4.0 has improved the quality of embeddings API. The generated results are not compatible
with previous versions. If you are using embeddings API to generate knowledge bases or similar, please regenerate.
If you are using langchain, just use `OpenAIEmbeddings(openai_api_base="http://127.0.0.1:8000", openai_api_key="sk-")`
```python