cmd

package
v0.1.9-rc3 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type CollectionVirtualSummary added in v0.0.4

type CollectionVirtualSummary struct {
	TotalDocuments   int
	VirtualDocuments int
	TotalChunks      int
	TotalImages      int
	ImageStacks      int
	ChunkedDocuments int
	StandaloneImages int
}

CollectionVirtualSummary represents the virtual structure summary of a collection

type DocumentData added in v0.0.9

type DocumentData struct {
	ID        string
	Content   string
	Image     string
	ImageData string
	URL       string
	Metadata  map[string]interface{}
	// For PDF image extraction
	Collection string // Target collection for this document
	IsImage    bool   // Whether this is an image document
}

DocumentData represents the data structure for creating a document

type DocumentWithCollection added in v0.1.3

type DocumentWithCollection struct {
	Document   *weaviate.Document
	Collection string
}

DocumentWithCollection represents a document and the collection it was found in

type MetadataAnalysis added in v0.1.8

type MetadataAnalysis struct {
	FieldCounts  map[string]int
	FieldSamples map[string][]string
}

MetadataAnalysis represents the analysis results of metadata across documents

type MockVirtualDocument added in v0.0.4

type MockVirtualDocument struct {
	OriginalFilename string
	TotalChunks      int
	Chunks           []mock.Document
	Metadata         map[string]interface{}
}

MockVirtualDocument represents a mock document with its chunks aggregated

type VirtualDocument added in v0.0.4

type VirtualDocument struct {
	OriginalFilename string
	TotalChunks      int
	Chunks           []weaviate.Document
	Metadata         map[string]interface{}
}

VirtualDocument represents a document with its chunks aggregated

Jump to

Keyboard shortcuts

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