Help us shape the future of Go! Take the 2026 Go Developer Survey

resource_ai_vector_document

package
v5.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AiVectorDocumentResourceSchema

func AiVectorDocumentResourceSchema(ctx context.Context) schema.Schema

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) Equal added in v5.3.0

func (t DocumentsType) Equal(o attr.Type) bool

func (DocumentsType) String added in v5.3.0

func (t DocumentsType) String() string

func (DocumentsType) ValueFromObject added in v5.3.0

func (DocumentsType) ValueFromTerraform added in v5.3.0

func (t DocumentsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (DocumentsType) ValueType added in v5.3.0

func (t DocumentsType) ValueType(ctx context.Context) attr.Value

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 NewDocumentsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DocumentsValue

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 (v DocumentsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (DocumentsValue) Equal added in v5.3.0

func (v DocumentsValue) Equal(o attr.Value) bool

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 (DocumentsValue) ToTerraformValue added in v5.3.0

func (v DocumentsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (DocumentsValue) Type added in v5.3.0

func (v DocumentsValue) Type(ctx context.Context) attr.Type

type MetadataType added in v5.3.0

type MetadataType struct {
	basetypes.ObjectType
}

func (MetadataType) Equal added in v5.3.0

func (t MetadataType) Equal(o attr.Type) bool

func (MetadataType) String added in v5.3.0

func (t MetadataType) String() string

func (MetadataType) ValueFromObject added in v5.3.0

func (MetadataType) ValueFromTerraform added in v5.3.0

func (t MetadataType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (MetadataType) ValueType added in v5.3.0

func (t MetadataType) ValueType(ctx context.Context) attr.Value

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 NewMetadataValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MetadataValue

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 (v MetadataValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (MetadataValue) Equal added in v5.3.0

func (v MetadataValue) Equal(o attr.Value) bool

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 (MetadataValue) ToTerraformValue added in v5.3.0

func (v MetadataValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (MetadataValue) Type added in v5.3.0

func (v MetadataValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL