org.llm4s
Members list
Packages
Comprehensive type aliases and newtypes for the LLM4S library.
Comprehensive type aliases and newtypes for the LLM4S library.
Key Features:
- Core result types and error handling
- ID newtypes for type safety
- Async and streaming type aliases
- Configuration and metadata types
- Tool and MCP related types
- Future extensibility for various domains
- Consistent and clear type definitions
- Type safety without performance cost (AnyVal newtypes)
- Consistent naming patterns across the library
- Clear distinction between sync/async operations
- Extensible for future requirements
- Backwards compatibility with legacy types
Attributes
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AsyncResult.type
Companion object for Result types. Provides utility methods for creating and manipulating Result types. Includes methods for success, failure, fromTry, fromOption, sequence, traverse, and combine. These methods allow users to easily create and handle Result types, providing a consistent and type-safe way to work with results in the LLM4S. Provides a clear and concise API for error handling and result manipulation. Provides methods for creating success and failure results, converting from Try and Option types, sequencing and traversing lists of results, and combining two results into a tuple. This object is designed to be extensible for future requirements, allowing users to add additional utility methods as needed. It provides a consistent and type-safe way to handle results and errors in the LLM4S.
Companion object for Result types. Provides utility methods for creating and manipulating Result types. Includes methods for success, failure, fromTry, fromOption, sequence, traverse, and combine. These methods allow users to easily create and handle Result types, providing a consistent and type-safe way to work with results in the LLM4S. Provides a clear and concise API for error handling and result manipulation. Provides methods for creating success and failure results, converting from Try and Option types, sequencing and traversing lists of results, and combining two results into a tuple. This object is designed to be extensible for future requirements, allowing users to add additional utility methods as needed. It provides a consistent and type-safe way to handle results and errors in the LLM4S.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Result.type