openai_chat_switch

package module
v0.0.0-...-3b0f332 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: GPL-2.0 Imports: 9 Imported by: 0

README

openai-chat-switch

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExtensionExactMatchReturnOutcome extension = extension{/* contains filtered or unexported fields */}
View Source
var ExtensionExactMatchReturnPrompt = extension{/* contains filtered or unexported fields */}
View Source
var ExtensionPrefixMatchReturnOutcome = extension{/* contains filtered or unexported fields */}
View Source
var ExtensionPrefixMatchReturnPrompt = extension{/* contains filtered or unexported fields */}

Functions

func Answer

func Answer(prompt string, userId string) (out string)

func NewGlobal

func NewGlobal(config string) *global.Application

Types

type RwMap

type RwMap struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*RwMap) Del

func (r *RwMap) Del(name string) bool

func (*RwMap) Get

func (r *RwMap) Get(name string) bool

func (*RwMap) Set

func (r *RwMap) Set(name string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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