Skip to content

Commit 57cc306

Browse files
committed
more fixed examples
1 parent 9ac7adf commit 57cc306

26 files changed

+843
-90
lines changed

docs/examples/languageExamples.json

Lines changed: 737 additions & 51 deletions
Large diffs are not rendered by default.

specification/inference/put_googlevertexai/examples/request/PutGoogleVertexAiRequestExample10.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
summary: A chat_completion task for Google Model Garden Meta shared endpoint with single streaming URL provided
2-
description: Run `PUT _inference/chat_completion/google_model_garden_meta_chat_completion` to create an inference endpoint to perform a `chat_completion` task using Meta's model hosted on Google Model Garden shared endpoint with single streaming URL provided. See the endpoint's `Sample request` page for the variable values used in the URL.
2+
description:
3+
Run `PUT _inference/chat_completion/google_model_garden_meta_chat_completion` to create an inference endpoint to
4+
perform a `chat_completion` task using Meta's model hosted on Google Model Garden shared endpoint with single streaming URL
5+
provided. See the endpoint's `Sample request` page for the variable values used in the URL.
36
method_request: 'PUT _inference/chat_completion/google_model_garden_meta_chat_completion'
47
# type: "request"
58
value: |-

specification/inference/put_googlevertexai/examples/request/PutGoogleVertexAiRequestExample11.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
summary: A completion task for Google Model Garden Hugging Face dedicated endpoint with single URL provided for both streaming and non-streaming tasks
2-
description: Run `PUT _inference/completion/google_model_garden_hugging_face_completion` to create an inference endpoint to perform a `completion` task using Hugging Face's model hosted on Google Model Garden dedicated endpoint with single URL provided for both streaming and non-streaming tasks. See the endpoint's `Sample request` page for the variable values used in the URL.
1+
summary:
2+
A completion task for Google Model Garden Hugging Face dedicated endpoint with single URL provided for both streaming and
3+
non-streaming tasks
4+
description:
5+
Run `PUT _inference/completion/google_model_garden_hugging_face_completion` to create an inference endpoint to perform
6+
a `completion` task using Hugging Face's model hosted on Google Model Garden dedicated endpoint with single URL provided for both
7+
streaming and non-streaming tasks. See the endpoint's `Sample request` page for the variable values used in the URL.
38
method_request: 'PUT _inference/completion/google_model_garden_hugging_face_completion'
49
# type: "request"
510
value: |-

specification/inference/put_googlevertexai/examples/request/PutGoogleVertexAiRequestExample12.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
summary: A chat_completion task for Google Model Garden Hugging Face dedicated endpoint with single streaming URL provided
2-
description: Run `PUT _inference/chat_completion/google_model_garden_hugging_face_chat_completion` to create an inference endpoint to perform a `chat_completion` task using Hugging Face's model hosted on Google Model Garden dedicated endpoint with single streaming URL provided. See the endpoint's `Sample request` page for the variable values used in the URL.
2+
description:
3+
Run `PUT _inference/chat_completion/google_model_garden_hugging_face_chat_completion` to create an inference endpoint
4+
to perform a `chat_completion` task using Hugging Face's model hosted on Google Model Garden dedicated endpoint with single
5+
streaming URL provided. See the endpoint's `Sample request` page for the variable values used in the URL.
36
method_request: 'PUT _inference/chat_completion/google_model_garden_hugging_face_chat_completion'
47
# type: "request"
58
value: |-

specification/inference/put_googlevertexai/examples/request/PutGoogleVertexAiRequestExample13.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
summary: A completion task for Google Model Garden Hugging Face shared endpoint with single URL provided for both streaming and non-streaming tasks
2-
description: Run `PUT _inference/completion/google_model_garden_hugging_face_completion` to create an inference endpoint to perform a `completion` task using Hugging Face's model hosted on Google Model Garden shared endpoint with single URL provided for both streaming and non-streaming tasks. See the endpoint's `Sample request` page for the variable values used in the URL.
1+
summary:
2+
A completion task for Google Model Garden Hugging Face shared endpoint with single URL provided for both streaming and
3+
non-streaming tasks
4+
description:
5+
Run `PUT _inference/completion/google_model_garden_hugging_face_completion` to create an inference endpoint to perform
6+
a `completion` task using Hugging Face's model hosted on Google Model Garden shared endpoint with single URL provided for both
7+
streaming and non-streaming tasks. See the endpoint's `Sample request` page for the variable values used in the URL.
38
method_request: 'PUT _inference/completion/google_model_garden_hugging_face_completion'
49
# type: "request"
510
value: |-

specification/inference/put_googlevertexai/examples/request/PutGoogleVertexAiRequestExample14.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
summary: A chat_completion task for Google Model Garden Hugging Face shared endpoint with single streaming URL provided
2-
description: Run `PUT _inference/chat_completion/google_model_garden_hugging_face_chat_completion` to create an inference endpoint to perform a `chat_completion` task using Hugging Face's model hosted on Google Model Garden shared endpoint with single streaming URL provided. See the endpoint's `Sample request` page for the variable values used in the URL.
2+
description:
3+
Run `PUT _inference/chat_completion/google_model_garden_hugging_face_chat_completion` to create an inference endpoint
4+
to perform a `chat_completion` task using Hugging Face's model hosted on Google Model Garden shared endpoint with single streaming
5+
URL provided. See the endpoint's `Sample request` page for the variable values used in the URL.
36
method_request: 'PUT _inference/chat_completion/google_model_garden_hugging_face_chat_completion'
47
# type: "request"
58
value: |-

specification/inference/put_googlevertexai/examples/request/PutGoogleVertexAiRequestExample15.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
summary: A completion task for Google Model Garden Mistral serverless endpoint with separate URLs for streaming and non-streaming tasks
2-
description: Run `PUT _inference/completion/google_model_garden_mistral_completion` to create an inference endpoint to perform a `completion` task using Mistral's serverless model hosted on Google Model Garden with separate URLs for streaming and non-streaming tasks. See the Mistral model documentation for instructions on how to construct URLs.
2+
description:
3+
Run `PUT _inference/completion/google_model_garden_mistral_completion` to create an inference endpoint to perform a
4+
`completion` task using Mistral's serverless model hosted on Google Model Garden with separate URLs for streaming and
5+
non-streaming tasks. See the Mistral model documentation for instructions on how to construct URLs.
36
method_request: 'PUT _inference/completion/google_model_garden_mistral_completion'
47
# type: "request"
58
value: |-

specification/inference/put_googlevertexai/examples/request/PutGoogleVertexAiRequestExample16.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
summary: A chat_completion task for Google Model Garden Mistral serverless endpoint with single streaming URL provided
2-
description: Run `PUT _inference/chat_completion/google_model_garden_mistral_chat_completion` to create an inference endpoint to perform a `chat_completion` task using Mistral's serverless model hosted on Google Model Garden with single streaming URL provided. See the Mistral model documentation for instructions on how to construct the URL.
2+
description:
3+
Run `PUT _inference/chat_completion/google_model_garden_mistral_chat_completion` to create an inference endpoint to
4+
perform a `chat_completion` task using Mistral's serverless model hosted on Google Model Garden with single streaming URL
5+
provided. See the Mistral model documentation for instructions on how to construct the URL.
36
method_request: 'PUT _inference/chat_completion/google_model_garden_mistral_chat_completion'
47
# type: "request"
58
value: |-

specification/inference/put_googlevertexai/examples/request/PutGoogleVertexAiRequestExample17.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
summary: A completion task for Google Model Garden Mistral dedicated endpoint with single URL provided for both streaming and non-streaming tasks
2-
description: Run `PUT _inference/completion/google_model_garden_mistral_completion` to create an inference endpoint to perform a `completion` task using Mistral's model hosted on Google Model Garden dedicated endpoint with single URL provided for both streaming and non-streaming tasks. See the endpoint's `Sample request` page for the variable values used in the URL.
1+
summary:
2+
A completion task for Google Model Garden Mistral dedicated endpoint with single URL provided for both streaming and
3+
non-streaming tasks
4+
description:
5+
Run `PUT _inference/completion/google_model_garden_mistral_completion` to create an inference endpoint to perform a
6+
`completion` task using Mistral's model hosted on Google Model Garden dedicated endpoint with single URL provided for both
7+
streaming and non-streaming tasks. See the endpoint's `Sample request` page for the variable values used in the URL.
38
method_request: 'PUT _inference/completion/google_model_garden_mistral_completion'
49
# type: "request"
510
value: |-

specification/inference/put_googlevertexai/examples/request/PutGoogleVertexAiRequestExample18.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
summary: A chat_completion task for Google Model Garden Mistral dedicated endpoint with single streaming URL provided
2-
description: Run `PUT _inference/chat_completion/google_model_garden_mistral_chat_completion` to create an inference endpoint to perform a `chat_completion` task using Mistral's model hosted on Google Model Garden dedicated endpoint with single streaming URL provided. See the endpoint's `Sample request` page for the variable values used in the URL.
2+
description:
3+
Run `PUT _inference/chat_completion/google_model_garden_mistral_chat_completion` to create an inference endpoint to
4+
perform a `chat_completion` task using Mistral's model hosted on Google Model Garden dedicated endpoint with single streaming URL
5+
provided. See the endpoint's `Sample request` page for the variable values used in the URL.
36
method_request: 'PUT _inference/chat_completion/google_model_garden_mistral_chat_completion'
47
# type: "request"
58
value: |-

0 commit comments

Comments
 (0)