Class Core.Source
java.lang.Object
me.neurodock.core.Core.Source
- Enclosing class:
Core
Represents the source of a tool.
This is intended for use with Core.addTool(OllamaFunctionTool, String)
to indicate the module from which a tool originates.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRepresents a tool defined through an API system.static final StringRepresents an internally defined tool that is part of the Core system.static final StringRepresents an external tool that is not derived from the Core.static final StringRepresents an internally defined tool that is derived from Core Components but not the Core itself. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EXTERNAL
Represents an external tool that is not derived from the Core. Instead, it belongs to an internally defined system or module within the project/program.- See Also:
-
CORE
Represents an internally defined tool that is part of the Core system. This is meant for tools that are strictly part of the Core and should not be used for definitions outside of it.- See Also:
-
API
Represents a tool defined through an API system. These tools are more dynamic, as they originate from fully external sources using the API.- See Also:
-
INTERNAL
Represents an internally defined tool that is derived from Core Components but not the Core itself. This is used for tools that are part of the Core Components, such as internal modules, but do not belong directly to the Core.- See Also:
-
-
Constructor Details
-
Source
public Source()
-