knowledge

package
v0.0.0-...-c2e5dec Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKnowledgeUsecase

func NewKnowledgeUsecase(options ...options) ports.IKnowledgeUsecase

func WithConfig

func WithConfig(conf *configs.Config) options

func WithEthApiMap

func WithEthApiMap(ethApiMap map[uint64]*ethapi.Client) options

func WithLighthousekey

func WithLighthousekey(lighthousekey string) options

func WithNetworks

func WithNetworks(networks map[string]map[string]string) options

func WithNotiBot

func WithNotiBot(teleKey, notiActChanId, notiErrorChanId string) options

func WithRagApi

func WithRagApi(ragApi string) options

func WithRepos

func WithRepos(
	knowledgeBaseRepo repository.KnowledgeBaseRepo,
	knowledgeBaseFileRepo repository.KnowledgeBaseFileRepo,
	agentInfoKnowledgeBaseRepo repository.IAgentInfoKnowledgeBaseRepo,
	agentInfoRepo repository.IAgentInfoRepo,
) options

func WithSecretKey

func WithSecretKey(secretKey string) options

func WithTrxApi

func WithTrxApi(trxApi *trxapi.Client) options

func WithWebhookUrl

func WithWebhookUrl(webhookUrl string) options

Types

This section is empty.

Jump to

Keyboard shortcuts

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