bhln

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BHLN

type BHLN interface {
	// References returns back bibliographic references for a given
	// list of page ids.
	References(pageIDs []int) (map[int]ref.Reference, error)

	// ItemIds retuns back ids of BHL items that need to be embedded.
	ItemIds(offset, limit int, taxa []string) ([]uint, error)

	// Close cleans up database connections
	Close()
}

BHLN takes data from BHLnames.

type Chunk

type Chunk struct {
	ID     int
	UUID   string
	Text   string
	Vector []float32
}

type Item

type Item struct {
	ID    int
	Title string
}

type Page

type Page struct {
	ID     int
	Number int
	ItemID int
}

Jump to

Keyboard shortcuts

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