snowflake

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkResult added in v0.8.0

type ChunkResult struct {
	FileID     string `json:"file_id" db:"file_id"`
	ChunkIndex string `json:"chunk_index" db:"chunk_index"`
	ChunkText  string `json:"chunk_text" db:"chunk_text"`
	Score      string `json:"score" db:"score"`
}

func SearchChunks added in v0.8.0

func SearchChunks(
	ctx context.Context, oauthToken, database, schema, table, vectorLiteral string, limit int,
) ([]ChunkResult, error)

type DatabaseInfo added in v0.8.0

type DatabaseInfo struct {
	Name    string `json:"name" db:"name"`
	Comment string `json:"comment,omitempty" db:"comment"`
}

func ShowDatabases added in v0.8.0

func ShowDatabases(ctx context.Context, oauthToken string) ([]DatabaseInfo, error)

type ProcessedDocumentResult added in v0.10.2

type ProcessedDocumentResult struct {
	FileID          string `json:"file_id" db:"file_id"`
	MarkdownContent string `json:"markdown_content" db:"markdown_content"`
}

func GetProcessedDocument added in v0.10.2

func GetProcessedDocument(
	ctx context.Context, oauthToken, database, schema, table, fileID string,
) (*ProcessedDocumentResult, error)

Jump to

Keyboard shortcuts

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