callback

package
v0.0.0-...-ba408d3 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Data

func Data(data interface{}) (*callback.CommonResponse, error)

func Error

func Error(err error) (*callback.CommonResponse, error)

func Success

func Success() (*callback.CommonResponse, error)

Types

type Service

func (*Service) CreateDocumentSegments

func (s *Service) CreateDocumentSegments(ctx context.Context, req *callback.CreateDocumentSegmentsRequest) (resp *callback.CommonResponse, err error)

func (*Service) GetDatasetCollection

func (s *Service) GetDatasetCollection(ctx context.Context, req *callback.GetDatasetCollectionRequest) (resp *callback.CommonResponse, err error)

func (*Service) GetTextCacheEmbedding

func (s *Service) GetTextCacheEmbedding(ctx context.Context, req *callback.GetTextCacheEmbeddingRequest) (resp *callback.CommonResponse, err error)

func (*Service) SaveTextCacheEmbeddings

func (s *Service) SaveTextCacheEmbeddings(ctx context.Context, req *callback.SaveTextCacheEmbeddingsRequest) (resp *callback.CommonResponse, err error)

func (*Service) UpdateDocumentSegmentsStatus

func (s *Service) UpdateDocumentSegmentsStatus(ctx context.Context, req *callback.UpdateDocumentSegmentsStatusRequest) (resp *callback.CommonResponse, err error)

func (*Service) UpdateDocumentStatus

func (s *Service) UpdateDocumentStatus(ctx context.Context, req *callback.UpdateDocumentStatusRequest) (resp *callback.CommonResponse, err error)

Jump to

Keyboard shortcuts

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