Common AI framework utilities for the Embabel Agent system including LLM configuration, output converters, prompt contributors, and embedding service abstractions.
Foundational AI framework utilities for the Embabel Agent system providing abstractions for LLMs, structured output conversion, streaming, and embedding services.
Maven:
<dependency>
<groupId>com.embabel.agent</groupId>
<artifactId>embabel-agent-common</artifactId>
<version>0.3.3</version>
</dependency>Gradle:
implementation("com.embabel.agent:embabel-agent-common:0.3.3")import com.embabel.common.ai.model.LlmOptions
import com.embabel.common.ai.converters.JacksonOutputConverter
// Configure LLM
val options = LlmOptions.withModel("gpt-4").withTemperature(0.7)
// Parse structured output
data class Person(val name: String, val age: Int)
val converter = JacksonOutputConverter(Person::class.java, ObjectMapper())
val person = converter.convert(llmResponse)Quick Reference: Task-oriented lookup →
Core APIs: Essential functionality for most use cases
Supporting APIs: Additional functionality
Advanced Topics:
Reference: Complete type information
tessl i tessl/maven-com-embabel-agent--embabel-agent-common@0.3.1