Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 111 additions & 49 deletions fern/apis/master/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -9121,11 +9121,12 @@
]
},
"RecommendStrategy": {
"description": "How to use positive and negative examples to find the results, default is `average_vector`:\n\n* `average_vector` - Average positive and negative vectors and create a single query with the formula `query = avg_pos + avg_pos - avg_neg`. Then performs normal search.\n\n* `best_score` - Uses custom search objective. Each candidate is compared against all examples, its score is then chosen from the `max(max_pos_score, max_neg_score)`. If the `max_neg_score` is chosen then it is squared and negated, otherwise it is just the `max_pos_score`.",
"description": "How to use positive and negative examples to find the results, default is `average_vector`:\n\n* `average_vector` - Average positive and negative vectors and create a single query with the formula `query = avg_pos + avg_pos - avg_neg`. Then performs normal search.\n\n* `best_score` - Uses custom search objective. Each candidate is compared against all examples, its score is then chosen from the `max(max_pos_score, max_neg_score)`. If the `max_neg_score` is chosen then it is squared and negated, otherwise it is just the `max_pos_score`.\n\n* `sum_scores` - Uses custom search objective. Compares against all inputs, sums all the scores. Scores against positive vectors are added, against negatives are subtracted.",
"type": "string",
"enum": [
"average_vector",
"best_score"
"best_score",
"sum_scores"
]
},
"UsingVector": {
Expand Down Expand Up @@ -11400,11 +11401,7 @@
"required": [
"config",
"id",
"init_time_ms",
"resharding",
"shard_clean_tasks",
"shards",
"transfers"
"init_time_ms"
],
"properties": {
"id": {
Expand All @@ -11422,25 +11419,29 @@
"type": "array",
"items": {
"$ref": "#/components/schemas/ReplicaSetTelemetry"
}
},
"nullable": true
},
"transfers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ShardTransferInfo"
}
},
"nullable": true
},
"resharding": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReshardingInfo"
}
},
"nullable": true
},
"shard_clean_tasks": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ShardCleanStatusTelemetry"
}
},
"nullable": true
}
}
},
Expand Down Expand Up @@ -11545,7 +11546,6 @@
"type": "object",
"required": [
"optimizations",
"segments",
"total_optimized_points"
],
"properties": {
Expand All @@ -11569,11 +11569,40 @@
"format": "uint",
"minimum": 0
},
"vectors_size_bytes": {
"description": "An ESTIMATION of effective amount of bytes used for vectors Do NOT rely on this number unless you know what you are doing",
"type": "integer",
"format": "uint",
"minimum": 0,
"nullable": true
},
"payloads_size_bytes": {
"description": "An estimation of the effective amount of bytes used for payloads Do NOT rely on this number unless you know what you are doing",
"type": "integer",
"format": "uint",
"minimum": 0,
"nullable": true
},
"num_points": {
"description": "Sum of segment points This is an approximate number Do NOT rely on this number unless you know what you are doing",
"type": "integer",
"format": "uint",
"minimum": 0,
"nullable": true
},
"num_vectors": {
"description": "Sum of number of vectors in all segments This is an approximate number Do NOT rely on this number unless you know what you are doing",
"type": "integer",
"format": "uint",
"minimum": 0,
"nullable": true
},
"segments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SegmentTelemetry"
}
},
"nullable": true
},
"optimizations": {
"$ref": "#/components/schemas/OptimizerTelemetry"
Expand Down Expand Up @@ -12092,8 +12121,7 @@
"OperationDurationStatistics": {
"type": "object",
"required": [
"count",
"total_duration_micros"
"count"
],
"properties": {
"count": {
Expand All @@ -12104,7 +12132,8 @@
"fail_count": {
"type": "integer",
"format": "uint",
"minimum": 0
"minimum": 0,
"nullable": true
},
"avg_duration_micros": {
"description": "The average time taken by 128 latest operations, calculated as a weighted mean.",
Expand All @@ -12128,7 +12157,8 @@
"description": "The total duration of all operations in microseconds.",
"type": "integer",
"format": "uint64",
"minimum": 0
"minimum": 0,
"nullable": true
},
"last_responded": {
"type": "string",
Expand All @@ -12140,6 +12170,7 @@
"PayloadIndexTelemetry": {
"type": "object",
"required": [
"index_type",
"points_count",
"points_values_count"
],
Expand All @@ -12148,6 +12179,9 @@
"type": "string",
"nullable": true
},
"index_type": {
"type": "string"
},
"points_values_count": {
"description": "The amount of values indexed for all points.",
"type": "integer",
Expand All @@ -12171,7 +12205,6 @@
"OptimizerTelemetry": {
"type": "object",
"required": [
"log",
"optimizations",
"status"
],
Expand All @@ -12186,7 +12219,8 @@
"type": "array",
"items": {
"$ref": "#/components/schemas/TrackerTelemetry"
}
},
"nullable": true
}
}
},
Expand Down Expand Up @@ -14470,6 +14504,15 @@
{
"$ref": "#/components/schemas/Condition"
},
{
"$ref": "#/components/schemas/GeoDistance"
},
{
"$ref": "#/components/schemas/DatetimeExpression"
},
{
"$ref": "#/components/schemas/DatetimeKeyExpression"
},
{
"$ref": "#/components/schemas/MultExpression"
},
Expand Down Expand Up @@ -14500,9 +14543,6 @@
{
"$ref": "#/components/schemas/LnExpression"
},
{
"$ref": "#/components/schemas/GeoDistance"
},
{
"$ref": "#/components/schemas/LinDecayExpression"
},
Expand All @@ -14514,6 +14554,55 @@
}
]
},
"GeoDistance": {
"type": "object",
"required": [
"geo_distance"
],
"properties": {
"geo_distance": {
"$ref": "#/components/schemas/GeoDistanceParams"
}
}
},
"GeoDistanceParams": {
"type": "object",
"required": [
"origin",
"to"
],
"properties": {
"origin": {
"$ref": "#/components/schemas/GeoPoint"
},
"to": {
"description": "Payload field with the destination geo point",
"type": "string"
}
}
},
"DatetimeExpression": {
"type": "object",
"required": [
"datetime"
],
"properties": {
"datetime": {
"type": "string"
}
}
},
"DatetimeKeyExpression": {
"type": "object",
"required": [
"datetime_key"
],
"properties": {
"datetime_key": {
"type": "string"
}
}
},
"MultExpression": {
"type": "object",
"required": [
Expand Down Expand Up @@ -14665,33 +14754,6 @@
}
}
},
"GeoDistance": {
"type": "object",
"required": [
"geo_distance"
],
"properties": {
"geo_distance": {
"$ref": "#/components/schemas/GeoDistanceParams"
}
}
},
"GeoDistanceParams": {
"type": "object",
"required": [
"origin",
"to"
],
"properties": {
"origin": {
"$ref": "#/components/schemas/GeoPoint"
},
"to": {
"description": "Payload field with the destination geo point",
"type": "string"
}
}
},
"LinDecayExpression": {
"type": "object",
"required": [
Expand Down
4 changes: 4 additions & 0 deletions fern/apis/v1.14.x/generators.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
api:
specs:
- openapi: ./openapi.json
overrides: ./openapi-overrides.yml
Loading