Documentation
¶
Overview ¶
components are the basic components supported by eino.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCallbacksEnabled ¶
Types ¶
type Checker ¶
type Checker interface {
IsCallbacksEnabled() bool
}
Checker tells callback aspect status of component's implementation When the Checker interface is implemented and returns true, the framework will not start the default aspect. Instead, the component will decide the callback execution location and the information to be injected.
type Component ¶
type Component string
Component the name of different kinds of components
const ( ComponentOfPrompt Component = "ChatTemplate" ComponentOfChatModel Component = "ChatModel" ComponentOfEmbedding Component = "Embedding" ComponentOfIndexer Component = "Indexer" ComponentOfRetriever Component = "Retriever" ComponentOfLoader Component = "Loader" ComponentOfTransformer Component = "DocumentTransformer" ComponentOfTool Component = "Tool" )
Click to show internal directories.
Click to hide internal directories.