Skip to content

Commit

Permalink
making dims optional for DenseVectorProperty (issue 754)
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Mar 6, 2024
1 parent a6a04b2 commit 3cc0fe4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion specification/_types/mapping/complex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class ObjectProperty extends CorePropertyBase {

export class DenseVectorProperty extends PropertyBase {
type: 'dense_vector'
dims: integer
dims?: integer
similarity?: string
index?: boolean
index_options?: DenseVectorIndexOptions
Expand Down

0 comments on commit 3cc0fe4

Please sign in to comment.