updated docs
This commit is contained in:
@@ -122,14 +122,10 @@ export OPENAI_API_KEY=sk-...
|
||||
redis-cli -p 6379 LANCE.EMBEDDING CONFIG SET textset PROVIDER openai MODEL text-embedding-3-small PARAM dim 512
|
||||
redis-cli -p 6379 LANCE.CREATE textset DIM 512
|
||||
```
|
||||
Azure OpenAI:
|
||||
Custom OpenAI-compatible endpoint:
|
||||
```bash
|
||||
export AZURE_OPENAI_API_KEY=...
|
||||
redis-cli -p 6379 LANCE.EMBEDDING CONFIG SET textset PROVIDER openai MODEL text-embedding-3-small \
|
||||
PARAM use_azure true \
|
||||
PARAM azure_endpoint https://myresource.openai.azure.com \
|
||||
PARAM azure_deployment my-embed-deploy \
|
||||
PARAM azure_api_version 2024-02-15 \
|
||||
PARAM endpoint http://localhost:8081/v1/embeddings \
|
||||
PARAM dim 512
|
||||
```
|
||||
Notes:
|
||||
|
Reference in New Issue
Block a user