Skip to content

Commit

Permalink
iv
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuantao Wang authored and Yuantao Wang committed Aug 16, 2024
1 parent 988d899 commit 999ef52
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4548,6 +4548,9 @@
},
{
"$ref": "#/components/schemas/onYourDataDeploymentNameVectorizationSource"
},
{
"$ref": "#/components/schemas/onYourDataIntegratedVectorizationSource"
}
]
},
Expand Down Expand Up @@ -5313,6 +5316,7 @@
"mapping": {
"endpoint": "#/components/schemas/onYourDataEndpointVectorizationSource",
"deployment_name": "#/components/schemas/onYourDataDeploymentNameVectorizationSource",
"integrated": "#/components/schemas/onYourDataIntegratedVectorizationSource",
"model_id": "#/components/schemas/onYourDataModelIdVectorizationSource"
}
}
Expand All @@ -5323,6 +5327,7 @@
"enum": [
"endpoint",
"deployment_name",
"integrated",
"model_id"
],
"x-ms-enum": {
Expand All @@ -5339,6 +5344,11 @@
"value": "deployment_name",
"description": "Represents an Ada model deployment name to use. This model deployment must be in the same Azure OpenAI resource, but\nOn Your Data will use this model deployment via an internal call rather than a public one, which enables vector\nsearch even in private networks."
},
{
"name": "integrated",
"value": "integrated",
"description": "Represents the integrated vectorizer defined within the search resource."
},
{
"name": "modelId",
"value": "model_id",
Expand Down Expand Up @@ -5409,6 +5419,15 @@
],
"x-ms-discriminator-value": "deployment_name"
},
"onYourDataIntegratedVectorizationSource": {
"description": "Represents the integrated vectorizer defined within the search resource.",
"allOf": [
{
"$ref": "#/components/schemas/onYourDataVectorizationSource"
}
],
"x-ms-discriminator-value": "integrated"
},
"onYourDataModelIdVectorizationSource": {
"required": [
"model_id"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3059,6 +3059,7 @@ components:
oneOf:
- $ref: '#/components/schemas/onYourDataEndpointVectorizationSource'
- $ref: '#/components/schemas/onYourDataDeploymentNameVectorizationSource'
- $ref: '#/components/schemas/onYourDataIntegratedVectorizationSource'
include_contexts:
type: array
description: The included properties of the output context. If not specified, the default value is `citations` and `intent`.
Expand Down Expand Up @@ -3574,6 +3575,7 @@ components:
mapping:
endpoint: '#/components/schemas/onYourDataEndpointVectorizationSource'
deployment_name: '#/components/schemas/onYourDataDeploymentNameVectorizationSource'
integrated: '#/components/schemas/onYourDataIntegratedVectorizationSource'
model_id: '#/components/schemas/onYourDataModelIdVectorizationSource'
onYourDataVectorizationSourceType:
type: string
Expand All @@ -3583,6 +3585,7 @@ components:
enum:
- endpoint
- deployment_name
- integrated
- model_id
x-ms-enum:
name: OnYourDataVectorizationSourceType
Expand All @@ -3597,6 +3600,9 @@ components:
Represents an Ada model deployment name to use. This model deployment must be in the same Azure OpenAI resource, but
On Your Data will use this model deployment via an internal call rather than a public one, which enables vector
search even in private networks.
- name: integrated
value: integrated
description: Represents the integrated vectorizer defined within the search resource.
- name: modelId
value: model_id
description: |-
Expand Down Expand Up @@ -3642,6 +3648,12 @@ components:
description: The number of dimensions the embeddings should have. Only supported in `text-embedding-3` and later models.
format: int32
x-ms-discriminator-value: deployment_name
onYourDataIntegratedVectorizationSource:
description: |-
Represents the integrated vectorizer defined within the search resource.
allOf:
- $ref: '#/components/schemas/onYourDataVectorizationSource'
x-ms-discriminator-value: integrated
onYourDataModelIdVectorizationSource:
required:
- model_id
Expand Down

0 comments on commit 999ef52

Please sign in to comment.