Documentation Index
Fetch the complete documentation index at: https://dev.docs.inworld.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview > Inworld Process Context
Class: UInworldProcessContext | Inherits from: UObject
Context object for managing runtime data during graph execution. This class provides access to runtime data that can be shared across nodes during graph execution. It allows nodes to store and retrieve data using key-value pairs, supporting various data types including basic types, objects, and structures.
Methods
Reference
Create
Examples
UInworldProcessContext* Create()
Returns
Type: UInworldProcessContext*
GetProcessContext
Examples
inworld::ProcessContext* GetProcessContext()
Returns
Type: inworld::ProcessContext*
GetRuntimeBool
Examples
bool GetRuntimeBool(
FName Key,
bool& OutBool
)
Parameters
| Parameter | Type | Description |
|---|
| Key | FName | |
| OutBool | bool& | |
Returns
Type: bool
GetRuntimeData
Examples
bool GetRuntimeData(
FName Key,
FInworldDataHandle& OutData
)
Parameters
| Parameter | Type | Description |
|---|
| Key | FName | |
| OutData | FInworldDataHandle& | |
Returns
Type: bool
GetRuntimeFloat
Examples
bool GetRuntimeFloat(
FName Key,
float& OutFloat
)
Parameters
| Parameter | Type | Description |
|---|
| Key | FName | |
| OutFloat | float& | |
Returns
Type: bool
GetRuntimeInt
Examples
bool GetRuntimeInt(
FName Key,
int32& OutInt
)
Parameters
| Parameter | Type | Description |
|---|
| Key | FName | |
| OutInt | int32& | |
Returns
Type: bool
GetRuntimeObject
Examples
bool GetRuntimeObject(
FName Key,
TSubclassOf<UObject> ObjectClass,
UObject*& OutObject
)
Parameters
| Parameter | Type | Description |
|---|
| Key | FName | |
| ObjectClass | TSubclassOf<UObject> | |
| OutObject | UObject*& | |
Returns
Type: bool
GetRuntimeObject
Examples
Returns
Type: bool
GetTextEmbedder
Examples
inworld::StatusOr_TextEmbedderInterface GetTextEmbedder()
Returns
Type: inworld::StatusOr_TextEmbedderInterface
SetProcessContext
Examples
SetRuntimeData
Examples
void SetRuntimeData(
FName Key,
FInworldDataHandle Data
)
Parameters
| Parameter | Type | Description |
|---|
| Key | FName | |
| Data | FInworldDataHandle | |