Class VectorStoreSearchResponse
-
- All Implemented Interfaces:
public final class VectorStoreSearchResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVectorStoreSearchResponse.BuilderA builder for VectorStoreSearchResponse.
public final classVectorStoreSearchResponse.AttributesSet of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.
public final classVectorStoreSearchResponse.Content
-
Method Summary
Modifier and Type Method Description final Optional<VectorStoreSearchResponse.Attributes>attributes()Set of 16 key-value pairs that can be attached to an object. final List<VectorStoreSearchResponse.Content>content()Content chunks from the file. final StringfileId()The ID of the vector store file. final Stringfilename()The name of the vector store file. final Doublescore()The similarity score for the result. final JsonField<VectorStoreSearchResponse.Attributes>_attributes()Set of 16 key-value pairs that can be attached to an object. final JsonField<List<VectorStoreSearchResponse.Content>>_content()Content chunks from the file. final JsonField<String>_fileId()The ID of the vector store file. final JsonField<String>_filename()The name of the vector store file. final JsonField<Double>_score()The similarity score for the result. final Map<String, JsonValue>_additionalProperties()final VectorStoreSearchResponsevalidate()final VectorStoreSearchResponse.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VectorStoreSearchResponse.Builderbuilder()Returns a mutable builder for constructing an instance of VectorStoreSearchResponse. -
-
Method Detail
-
attributes
final Optional<VectorStoreSearchResponse.Attributes> attributes()
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.
-
content
final List<VectorStoreSearchResponse.Content> content()
Content chunks from the file.
-
_attributes
final JsonField<VectorStoreSearchResponse.Attributes> _attributes()
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.
-
_content
final JsonField<List<VectorStoreSearchResponse.Content>> _content()
Content chunks from the file.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final VectorStoreSearchResponse validate()
-
toBuilder
final VectorStoreSearchResponse.Builder toBuilder()
-
builder
final static VectorStoreSearchResponse.Builder builder()
Returns a mutable builder for constructing an instance of VectorStoreSearchResponse.
The following fields are required:
.attributes() .content() .fileId() .filename() .score()
-
-
-
-