Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 authored Oct 30, 2023
1 parent cd2034e commit 1aac330
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,17 @@ the API is compatible with the OpenAI Embedding API.

### Weaviate
You can use the Weaviate text2vec-openai module and use the
STAPI OpenAI compatible endpoint. In your Weaviate Schema
use the following module config:
STAPI OpenAI compatible endpoint.

In your Weaviate Schema
use the following module config, assuming STAPI endpoint
is available at `http://stapi:8080`:
```
"vectorizer": "text2vec-openai",
"moduleConfig": {
"text2vec-openai": {
"model": "davinci",
"baseURL": "http://stapi:8081"
"baseURL": "http://stapi:8080"
}
}
```
Expand Down

0 comments on commit 1aac330

Please sign in to comment.