@okcashpro/okai v0.1.7-alpha.1
Enumerations
Classes
- MemoryCacheAdapter
- FsCacheAdapter
- DbCacheAdapter
- CacheManager
- DatabaseAdapter
- MemoryManager
- AgentRuntime
- Service
Interfaces
- ICacheAdapter
- GenerationOptions
- Content
- ActionExample
- ConversationExample
- Actor
- Objective
- Goal
- State
- Memory
- MessageExample
- Action
- EvaluationExample
- Evaluator
- Provider
- Relationship
- Account
- Participant
- Room
- IAgentConfig
- IDatabaseAdapter
- IDatabaseCacheAdapter
- IMemoryManager
- ICacheManager
- IAgentRuntime
- IImageDescriptionService
- ITranscriptionService
- IVideoService
- ITextGenerationService
- IBrowserService
- ISpeechService
- IPdfService
- IAwsS3Service
- ActionResponse
- ISlackService
Type Aliases
- EnvConfig
- CharacterConfig
- UUID
- Model
- Models
- Handler
- HandlerCallback
- Validator
- Media
- Client
- Plugin
- Character
- CacheOptions
- SearchResult
- SearchResponse
- KnowledgeItem
Variables
- defaultCharacter
- envSchema
- CharacterSchema
- evaluationTemplate
- knowledge
- okaiLogger
- models
- messageCompletionFooter
- shouldRespondFooter
- booleanFooter
- stringArrayFooter
- postActionResponseFooter
- settings
Functions
- composeActionExamples
- formatActionNames
- formatActions
- composeContext
- addHeader
- getEmbeddingConfig
- getEmbeddingType
- getEmbeddingZeroVector
- embed
- validateEnv
- validateCharacterConfig
- formatEvaluatorNames
- formatEvaluators
- formatEvaluatorExamples
- formatEvaluatorExampleDescriptions
- generateText
- trimTokens
- generateShouldRespond
- splitChunks
- generateTrueOrFalse
- generateTextArray
- generateObjectDeprecated
- generateObjectArray
- generateMessageResponse
- generateImage
- generateCaption
- generateWebSearch
- generateObject
- handleProvider
- generateTweetActions
- getGoals
- formatGoalsAsString
- updateGoal
- createGoal
- getActorDetails
- formatActors
- formatMessages
- formatTimestamp
- getModel
- getEndpoint
- parseShouldRespondFromText
- parseBooleanFromText
- parseJsonArrayFromText
- parseJSONObjectFromText
- parseActionResponseFromText
- formatPosts
- getProviders
- createRelationship
- getRelationship
- getRelationships
- formatRelationships
- findNearestEnvFile
- configureSettings
- loadEnvConfig
- getEnvVariable
- hasEnvVariable
- stringToUuid