adapter

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package adapter provides code for connecting the application to external systems or services.

Example adapters might include connectors to the console for interacting with the user, various "chat" services supported by large language models (LLMs), and other services for persisting transcriptions of chat sessions, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consoler

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

func NewConsole

func NewConsole(r io.Reader, w io.Writer) *Consoler

func (*Consoler) GetPrompt

func (t *Consoler) GetPrompt() string

func (*Consoler) Print

func (t *Consoler) Print(text string)

func (*Consoler) Printf

func (t *Consoler) Printf(format string, args ...any)

func (*Consoler) Println

func (t *Consoler) Println(a ...string)

Directories

Path Synopsis
Package chatter contains adapters for interacting with chat models.
Package chatter contains adapters for interacting with chat models.
Package scriber contains adapters for transcribing a chat session.
Package scriber contains adapters for transcribing a chat session.

Jump to

Keyboard shortcuts

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