aidoc

package
v0.0.0-...-337008c Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDocumentRequest

type AddDocumentRequest struct {
	Texts []string `json:"texts" binding:"required"`
}

type Delivery

type Delivery struct {
	// contains filtered or unexported fields
}

func Deliver

func Deliver() *Delivery

func (*Delivery) AddDocument

func (a *Delivery) AddDocument(c *gin.Context)

func (*Delivery) QueryDocument

func (a *Delivery) QueryDocument(c *gin.Context)

type QueryDocumentsRequest

type QueryDocumentsRequest struct {
	Content string `json:"content" binding:"required"`
}

Jump to

Keyboard shortcuts

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