Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek committed Sep 23, 2024
1 parent bbe01a5 commit edc3ccc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/en/latest/plugins/ai-rag.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ The following fields must be present in the request body.
| encoding_format | No | string | The format to return the embeddings in. Can be either `float` or `base64`. Defaults to `float`. |
| dimensions | No | integer | The number of dimensions the resulting output embeddings should have. Only supported in text-embedding-3 and later models. |


For other parameters please refer the Azure OpenAI embeddings documentation.

- Contents of ai_rag.vector_search
Expand Down Expand Up @@ -173,7 +172,7 @@ Now send a request:
curl http://127.0.0.1:9080/rag -XPOST -H 'Content-Type: application/json' -d '{"ai_rag":{"vector_search":{"fields":"contentVector"},"embeddings":{"input":"which service is good for devops","dimensions":1024}}}'
```

You will recieve a response like this:
You will receive a response like this:

```json
{
Expand Down

0 comments on commit edc3ccc

Please sign in to comment.