org.llm4s

package org.llm4s

Members list

Packages

package org.llm4s.agent
package org.llm4s.error
package org.llm4s.mcp
package org.llm4s.model
package org.llm4s.rag
package org.llm4s.trace
package org.llm4s.types

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

object AsyncResult

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Result

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 Object
trait Matchable
class Any
Self type
Result.type