This module defines the structure for managing large language model (LLM) resources
related to LLM model interactions. The class allows for managing prompts, responses,
and additional configurations such as tools, scenarios, and output files. It also
provides utilities for retrieving and managing LLM resources based on their identifiers.
The module includes:
ResourceChat: A class for handling individual chat interactions with LLM models.
Resource: Mapping of resource actionIDs to ResourceChat objects.
Returns the relative, descendent directory path between this module and other.
Throws if no such path exists.
For example, if module mod1 has path /dir1/mod1.pkl, and module mod2 has path /dir1/dir2/dir3/mod2.pkl,
then mod1.relativePathTo(mod2) will return List("dir2", "dir3").
A common use case is to compute the directory path between a template located at the root of a hierarchy
(say rootModule.pkl) and the currently evaluated module (accessible via the module keyword):
Retrieves the file path containing the LLM response associated with the specified resource actionID.
actionID: The actionID of the resource to retrieve the response for.
Returns the decoded content if the file is Base64-encoded; otherwise, returns the file content as-is.
Class representing the details of a chat interaction with an LLM model, including prompts, responses,
and configuration options such as tools, JSON output, and timeout settings.
Abstractions for KDEPS LLM Resources