Class Core.Source

java.lang.Object
me.neurodock.core.Core.Source
Enclosing class:
Core

public static class Core.Source extends Object
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Represents a tool defined through an API system.
    static final String
    Represents an internally defined tool that is part of the Core system.
    static final String
    Represents an external tool that is not derived from the Core.
    static final String
    Represents an internally defined tool that is derived from Core Components but not the Core itself.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • EXTERNAL

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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()