Documentation
¶
Index ¶
- func AiVectorDocumentResourceSchema(ctx context.Context) schema.Schema
- type AiVectorDocumentModel
- type DocumentsType
- func (t DocumentsType) Equal(o attr.Type) bool
- func (t DocumentsType) String() string
- func (t DocumentsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t DocumentsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t DocumentsType) ValueType(ctx context.Context) attr.Value
- type DocumentsValue
- func NewDocumentsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DocumentsValue, diag.Diagnostics)
- func NewDocumentsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DocumentsValue
- func NewDocumentsValueNull() DocumentsValue
- func NewDocumentsValueUnknown() DocumentsValue
- func (v DocumentsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v DocumentsValue) Equal(o attr.Value) bool
- func (v DocumentsValue) IsNull() bool
- func (v DocumentsValue) IsUnknown() bool
- func (v DocumentsValue) String() string
- func (v DocumentsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v DocumentsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v DocumentsValue) Type(ctx context.Context) attr.Type
- type MetadataType
- func (t MetadataType) Equal(o attr.Type) bool
- func (t MetadataType) String() string
- func (t MetadataType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t MetadataType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t MetadataType) ValueType(ctx context.Context) attr.Value
- type MetadataValue
- func NewMetadataValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MetadataValue, diag.Diagnostics)
- func NewMetadataValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MetadataValue
- func NewMetadataValueNull() MetadataValue
- func NewMetadataValueUnknown() MetadataValue
- func (v MetadataValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v MetadataValue) Equal(o attr.Value) bool
- func (v MetadataValue) IsNull() bool
- func (v MetadataValue) IsUnknown() bool
- func (v MetadataValue) String() string
- func (v MetadataValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v MetadataValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v MetadataValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AiVectorDocumentModel ¶
type AiVectorDocumentModel struct {
ChunksCreated types.Int64 `tfsdk:"chunks_created"`
CollectionId types.String `tfsdk:"collection_id"`
DocumentIds types.List `tfsdk:"document_ids"`
Documents types.List `tfsdk:"documents"`
Key types.String `tfsdk:"key"`
Limit types.Int64 `tfsdk:"limit"`
Message types.String `tfsdk:"message"`
Offset types.Int64 `tfsdk:"offset"`
Organisation types.String `tfsdk:"organisation"`
Success types.Bool `tfsdk:"success"`
}
type DocumentsType ¶ added in v5.3.0
type DocumentsType struct {
basetypes.ObjectType
}
func (DocumentsType) String ¶ added in v5.3.0
func (t DocumentsType) String() string
func (DocumentsType) ValueFromObject ¶ added in v5.3.0
func (t DocumentsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (DocumentsType) ValueFromTerraform ¶ added in v5.3.0
type DocumentsValue ¶ added in v5.3.0
type DocumentsValue struct {
Content basetypes.StringValue `tfsdk:"content"`
Key basetypes.StringValue `tfsdk:"key"`
Metadata basetypes.ObjectValue `tfsdk:"metadata"`
// contains filtered or unexported fields
}
func NewDocumentsValue ¶ added in v5.3.0
func NewDocumentsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DocumentsValue, diag.Diagnostics)
func NewDocumentsValueMust ¶ added in v5.3.0
func NewDocumentsValueNull ¶ added in v5.3.0
func NewDocumentsValueNull() DocumentsValue
func NewDocumentsValueUnknown ¶ added in v5.3.0
func NewDocumentsValueUnknown() DocumentsValue
func (DocumentsValue) AttributeTypes ¶ added in v5.3.0
func (DocumentsValue) IsNull ¶ added in v5.3.0
func (v DocumentsValue) IsNull() bool
func (DocumentsValue) IsUnknown ¶ added in v5.3.0
func (v DocumentsValue) IsUnknown() bool
func (DocumentsValue) String ¶ added in v5.3.0
func (v DocumentsValue) String() string
func (DocumentsValue) ToObjectValue ¶ added in v5.3.0
func (v DocumentsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (DocumentsValue) ToTerraformValue ¶ added in v5.3.0
type MetadataType ¶ added in v5.3.0
type MetadataType struct {
basetypes.ObjectType
}
func (MetadataType) String ¶ added in v5.3.0
func (t MetadataType) String() string
func (MetadataType) ValueFromObject ¶ added in v5.3.0
func (t MetadataType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (MetadataType) ValueFromTerraform ¶ added in v5.3.0
type MetadataValue ¶ added in v5.3.0
type MetadataValue struct {
Section basetypes.StringValue `tfsdk:"section"`
SourceUrl basetypes.StringValue `tfsdk:"source_url"`
Tags basetypes.ListValue `tfsdk:"tags"`
Title basetypes.StringValue `tfsdk:"title"`
// contains filtered or unexported fields
}
func NewMetadataValue ¶ added in v5.3.0
func NewMetadataValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MetadataValue, diag.Diagnostics)
func NewMetadataValueMust ¶ added in v5.3.0
func NewMetadataValueNull ¶ added in v5.3.0
func NewMetadataValueNull() MetadataValue
func NewMetadataValueUnknown ¶ added in v5.3.0
func NewMetadataValueUnknown() MetadataValue
func (MetadataValue) AttributeTypes ¶ added in v5.3.0
func (MetadataValue) IsNull ¶ added in v5.3.0
func (v MetadataValue) IsNull() bool
func (MetadataValue) IsUnknown ¶ added in v5.3.0
func (v MetadataValue) IsUnknown() bool
func (MetadataValue) String ¶ added in v5.3.0
func (v MetadataValue) String() string
func (MetadataValue) ToObjectValue ¶ added in v5.3.0
func (v MetadataValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (MetadataValue) ToTerraformValue ¶ added in v5.3.0
Click to show internal directories.
Click to hide internal directories.