

Classes | |
| class | InstructionSnippet |
Public Types | |
| enum | Feature { WebSearch = 1 << 0 , FileSearch = 1 << 1 , Reasoning = 1 << 2 , AudioTags = 1 << 3 } |
| Flags to enable or disable actor features. More... | |
Public Member Functions | |
| Persona | GetPersona () |
| bool | AreAllFeaturesEnabled (Feature features) |
| bool | IsAnyFeatureEnabled (Feature features) |
| string | GetElevenLabsVoiceID () |
| string | GetOpenAIVectorStoreID () |
| string | GetInstructions () |
| ActorConfig | Override () |
| Overrides any actor config if value is set in ActorOverrides.ini. | |
Private Member Functions | |
| string | GetSnippetsInstructions (string prefix, InstructionSnippet[] snippets) |
Private Attributes | |
| Persona | persona = PersonaExtensions.DefaultValue |
| Feature | enabledFeatures = Feature.WebSearch | Feature.FileSearch | Feature.Reasoning | Feature.AudioTags |
| string | elevenLabsVoiceId = string.Empty |
| string | openAIVectorStoreId = string.Empty |
| string | generalInstructions = string.Empty |
| InstructionSnippet[] | contextInfos = new InstructionSnippet[0] |
| InstructionSnippet[] | backgroundInfos = new InstructionSnippet[0] |
| InstructionSnippet[] | personalityInfos = new InstructionSnippet[0] |
| InstructionSnippet[] | exampleResponses = new InstructionSnippet[0] |
Static Private Attributes | |
| const string | OverrideFileName = "ActorOverrides.ini" |
Actor's configuration as a ScriptableObject. Some configurations can be overridden via the ActorOverrides.ini file.
Definition at line 9 of file ActorConfig.cs.
Flags to enable or disable actor features.
| Enumerator | |
|---|---|
| WebSearch | Allow the actor's OpenAI model to access the internet and search for information. |
| FileSearch | Allow the actor's OpenAI model to access files uploaded into the vector store. https://platform.openai.com/storage. |
| Reasoning | Allow the actor's OpenAI model to provide its reasoning when generating a response. |
| AudioTags | Allow the actor's ElevenLabs model to use audio tags to generate more expressive dialouge. https://elevenlabs.io/blog/v3-audiotags. |
Definition at line 18 of file ActorConfig.cs.
|
inline |
Definition at line 45 of file ActorConfig.cs.
|
inline |
Definition at line 49 of file ActorConfig.cs.
|
inline |
Definition at line 53 of file ActorConfig.cs.
|
inline |
Definition at line 51 of file ActorConfig.cs.
|
inline |
Definition at line 43 of file ActorConfig.cs.
|
inlineprivate |
Definition at line 147 of file ActorConfig.cs.
|
inline |
Definition at line 47 of file ActorConfig.cs.
|
inline |
Overrides any actor config if value is set in ActorOverrides.ini.
Definition at line 67 of file ActorConfig.cs.
|
private |
Definition at line 38 of file ActorConfig.cs.
|
private |
Definition at line 37 of file ActorConfig.cs.
|
private |
Definition at line 32 of file ActorConfig.cs.
|
private |
Definition at line 31 of file ActorConfig.cs.
|
private |
Definition at line 40 of file ActorConfig.cs.
|
private |
Definition at line 36 of file ActorConfig.cs.
|
private |
Definition at line 33 of file ActorConfig.cs.
|
staticprivate |
Definition at line 10 of file ActorConfig.cs.
|
private |
Definition at line 30 of file ActorConfig.cs.
|
private |
Definition at line 39 of file ActorConfig.cs.