Skip to content

Commit

Permalink
[DOCS] Fixes CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
szabosteve committed Dec 6, 2023
1 parent 310d5b5 commit 922b655
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,15 @@ PUT _ingest/pipeline/openai_embeddings
<2> Configuration object that defines the `input_field` for the {infer} process
and the `output_field` that will contain the {infer} results.

////
[source,console]
----
DELETE _ingest/pipeline/elser-v2-test
----
// TEST[continued]
////


[discrete]
[[infer-load-data]]
==== Load data
Expand Down Expand Up @@ -199,7 +208,7 @@ provide the query text and the model you have used to create the embeddings.
NOTE: If you cancelled the reindexing process, you run the query only a part of
the data which affects the quality of your results.

[source,js]
[source,console]
--------------------------------------------------
GET openai-embeddings/_search
{
Expand All @@ -225,7 +234,7 @@ GET openai-embeddings/_search
As a result, you receive the top 10 documents that are closest in meaning to the
query from the `openai-embeddings` index sorted by their proximity to the query:

[source,js]
[source,consol-result]
--------------------------------------------------
"hits": [
{
Expand Down

0 comments on commit 922b655

Please sign in to comment.