Raymond Maarloeve
Loading...
Searching...
No Matches
ObtainedMemoryDTO Class Reference

Represents a memory obtained by an NPC in the decision-making system. Each memory has a string identifier and a weight that indicates its importance. This DTO is used for prompting the LLM to understand the NPC's experiences and how they influence its decisions. More...

Public Member Functions

override string ToString ()
 ToString override used for pretty printing.
 

Public Attributes

string memory
 The unique identifier for the memory, such as "saw a predator", "found food", etc.
 
int weight
 The weight of the memory, indicating its importance or relevance to the NPC's current situation.
 

Detailed Description

Represents a memory obtained by an NPC in the decision-making system. Each memory has a string identifier and a weight that indicates its importance. This DTO is used for prompting the LLM to understand the NPC's experiences and how they influence its decisions.

Member Function Documentation

◆ ToString()

override string ObtainedMemoryDTO.ToString ( )

ToString override used for pretty printing.

Returns
A pretty print representation of the ObtainedMemoryDTO object.

Member Data Documentation

◆ memory

string ObtainedMemoryDTO.memory

The unique identifier for the memory, such as "saw a predator", "found food", etc.

◆ weight

int ObtainedMemoryDTO.weight

The weight of the memory, indicating its importance or relevance to the NPC's current situation.


The documentation for this class was generated from the following file: