presenters

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorizeBool

func ColorizeBool(b bool) string

func ColorizeCollectionStatus

func ColorizeCollectionStatus(state pinecone.CollectionStatus) string

func ColorizeState

func ColorizeState(state pinecone.IndexStatusState) string

func NewTabWriter

func NewTabWriter() *tabwriter.Writer

func PrintChatHistory added in v0.0.21

func PrintChatHistory(chatHistory models.KnowledgeModelChat)

func PrintDescribeCollectionTable

func PrintDescribeCollectionTable(coll *pinecone.Collection)

func PrintDescribeIndexTable

func PrintDescribeIndexTable(idx *pinecone.Index)

func PrintDescribeKnowledgeFileTable added in v0.0.21

func PrintDescribeKnowledgeFileTable(file *knowledge.KnowledgeFileModel)

func PrintDescribeKnowledgeModelTable added in v0.0.21

func PrintDescribeKnowledgeModelTable(km *knowledge.KnowledgeModel)

func PrintKnowledgeChatResponse added in v0.0.21

func PrintKnowledgeChatResponse(response string)

func PrintTargetContext

func PrintTargetContext(context *state.TargetContext)

func PrintTargetKnowledgeModel added in v0.0.21

func PrintTargetKnowledgeModel(context *state.TargetContext)

Types

This section is empty.

Jump to

Keyboard shortcuts

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