Class VectorStoreSearchResponse
-
- All Implemented Interfaces:
public final class VectorStoreSearchResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
VectorStoreSearchResponse.Builder
A builder for VectorStoreSearchResponse.
public final class
VectorStoreSearchResponse.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.
public final class
VectorStoreSearchResponse.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 String
fileId()
The ID of the vector store file. final String
filename()
The name of the vector store file. final Double
score()
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 VectorStoreSearchResponse
validate()
final VectorStoreSearchResponse.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static VectorStoreSearchResponse.Builder
builder()
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()
-
-
-
-