Documentation ¶
Index ¶
- Constants
- type Actor
- type AdditionalPhonemeInfo
- type ApiKey
- type AudioEvent
- type CancelResponsesEvent
- type ClientConfig
- type Config
- type ConnectionConfig
- type ControlEvent
- type EmotionEvent
- type EmotionalBehavior
- type EmotionalStrength
- type GenerateSessionTokenFunc
- type InworldClient
- type InworldControlType
- type InworldPacket
- func (i *InworldPacket) IsAudio() bool
- func (i *InworldPacket) IsCancelResponse() bool
- func (i *InworldPacket) IsControl() bool
- func (i *InworldPacket) IsEmotion() bool
- func (i *InworldPacket) IsInteractionEnd() bool
- func (i *InworldPacket) IsSilence() bool
- func (i *InworldPacket) IsText() bool
- func (i *InworldPacket) IsTrigger() bool
- type InworldPacketType
- type PacketId
- type Routing
- type SilenceEvent
- type TextEvent
- type TriggerEvent
- type TriggerParameter
Constants ¶
View Source
const ( InworldPacketUnknown = InworldPacketType(iota) InworldPacketText InworldPacketAudio InworldPacketTrigger InworldPacketEmotion InworldPacketControl InworldPacketSilence InworldPacketCancelResponse )
View Source
const ( InworldControlUnknown = InworldControlType(iota) InworldControlInteractionEnd )
View Source
const ( EmotionBehaviorNeutral = EmotionalBehavior(iota) EmotionBehaviorDisgust EmotionBehaviorContempt EmotionBehaviorBelligerence EmotionBehaviorDomineering EmotionBehaviorCriticism EmotionBehaviorAnger EmotionBehaviorTension EmotionBehaviorTenseHumor EmotionBehaviorDefensiveness EmotionBehaviorWhining EmotionBehaviorSadness EmotionBehaviorStonewalling EmotionBehaviorInterest EmotionBehaviorValidation EmotionBehaviorAffection EmotionBehaviorHumor EmotionBehaviorSurprise EmotionBehaviorJoy )
View Source
const ( EmotionalStrengthUnspecified = EmotionalStrength(iota) EmotionalStrengthWeak EmotionalStrengthStrong EmotionalStrengthNormal )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalPhonemeInfo ¶
type AudioEvent ¶
type AudioEvent struct { Chunk []byte AdditionalPhonemeInfo []*AdditionalPhonemeInfo }
type CancelResponsesEvent ¶
type ClientConfig ¶
type ClientConfig struct { Connection *ConnectionConfig Capabilities *engine.CapabilitiesRequest //todo replace with something exposable }
type ConnectionConfig ¶
type ControlEvent ¶
type ControlEvent struct {
Type InworldControlType
}
type EmotionEvent ¶
type EmotionEvent struct { Behavior EmotionalBehavior Strength EmotionalStrength }
type EmotionalBehavior ¶
type EmotionalBehavior uint8
type EmotionalStrength ¶
type EmotionalStrength uint8
type InworldClient ¶
type InworldClient struct {
// contains filtered or unexported fields
}
func (*InworldClient) Validate ¶
func (c *InworldClient) Validate() error
type InworldControlType ¶
type InworldControlType uint8
type InworldPacket ¶
type InworldPacket struct { PacketType InworldPacketType Date time.Time PacketId *PacketId Routing *Routing //events Text *TextEvent Audio *AudioEvent Control *ControlEvent Trigger *TriggerEvent Emotions *EmotionEvent Silence *SilenceEvent CancelResponses *CancelResponsesEvent }
func (*InworldPacket) IsAudio ¶
func (i *InworldPacket) IsAudio() bool
func (*InworldPacket) IsCancelResponse ¶
func (i *InworldPacket) IsCancelResponse() bool
func (*InworldPacket) IsControl ¶
func (i *InworldPacket) IsControl() bool
func (*InworldPacket) IsEmotion ¶
func (i *InworldPacket) IsEmotion() bool
func (*InworldPacket) IsInteractionEnd ¶
func (i *InworldPacket) IsInteractionEnd() bool
func (*InworldPacket) IsSilence ¶
func (i *InworldPacket) IsSilence() bool
func (*InworldPacket) IsText ¶
func (i *InworldPacket) IsText() bool
func (*InworldPacket) IsTrigger ¶
func (i *InworldPacket) IsTrigger() bool
type InworldPacketType ¶
type InworldPacketType uint8
type SilenceEvent ¶
type TriggerEvent ¶
type TriggerEvent struct { Name string Parameters []*TriggerParameter }
type TriggerParameter ¶
Click to show internal directories.
Click to hide internal directories.