Package com.rpl.agentorama
Class AgentObjectOptions.Impl
java.lang.Object
com.rpl.agentorama.AgentObjectOptions.Impl
- All Implemented Interfaces:
AgentObjectOptions
- Enclosing interface:
AgentObjectOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rpl.agentorama.AgentObjectOptions
AgentObjectOptions.Impl -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates options with auto-tracing disabled.Creates options with thread-safe configuration.workerObjectLimit(int amt) Creates options with a specific worker object limit.
-
Field Details
-
threadSafe
-
autoTracing
-
workerObjectLimit
-
-
Constructor Details
-
Impl
public Impl()
-
-
Method Details
-
threadSafe
Creates options with thread-safe configuration. When this is set, one object is created and shared for all usage within agents (no pool in this case).- Returns:
- options with thread safety enabled
-
disableAutoTracing
Creates options with auto-tracing disabled. When auto-tracing is enabled, chat models and embedding stores from Langchain4j are automatically wrapped to record all calls as nested operations.- Returns:
- options with auto-tracing disabled
-
workerObjectLimit
Creates options with a specific worker object limit. A pool of up to this many objects is created on demand at runtime in each Rama worker running the agent module.- Parameters:
amt- the maximum number of objects to create- Returns:
- options with the specified worker object limit
-