Discover Packages
github.com/basenana/friday
pkg
models
package
Version:
v0.0.0-...-f03bf9e
Opens a new window with list of versions in this module.
Published: May 29, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
NamespaceKey = "namespace"
DefaultNamespaceValue = "global"
GlobalNamespaceValue = "global"
)
type Document struct {
ID int64 `json:"id"`
Title string `json:"title"`
ParentID int64 `json:"parent_id"`
HtmlContent string `json:"html_content"`
Keywords string `json:"keywords"`
CreatedAt time .Time `json:"created_at"`
UpdatedAt time .Time `json:"updated_at"`
}
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 struct {
Name string `json:"name"`
OID int64 `json:"oid"`
ParentId int64 `json:"parent_id"`
Content string `json:"content"`
}
type Namespace struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.