vector

package
v0.0.0-...-04ebf03 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Doc

type Doc struct {
	Id       string
	OID      int64
	Name     string
	Group    int
	ParentId int64
	Content  string
}

type Element

type Element struct {
	ID       string    `json:"id"`
	Name     string    `json:"name"`
	Group    int       `json:"group"`
	OID      int64     `json:"oid"`
	ParentId int64     `json:"parent_id"`
	Content  string    `json:"content"`
	Vector   []float32 `json:"vector"`
}

type File

type File struct {
	Name     string `json:"name"`
	OID      int64  `json:"oid"`
	ParentId int64  `json:"parent_id"`
	Content  string `json:"content"`
}

type VectorDocQuery

type VectorDocQuery struct {
	ParentId int64
	Oid      int64
}

Jump to

Keyboard shortcuts

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