Coming from another library
Your existing code next to the same thing in LLM4S.
- Comparing LLM4S - A sourced comparison with LangChain4j, Spring AI, Koog and Embabel
- Coming from LangChain4j or Spring AI - Concepts side by side, with working code for model calls, typed output, tools, memory and RAG
- Coming from sttp-ai or openai-scala-client - Your Scala client code next to the same thing in LLM4S, compiled
- Coming from Python - OpenAI SDK, LangChain, LlamaIndex and Pydantic code next to the same thing in Scala 3
- Replacing a Python Sidecar - Move the LLM logic of a Python sidecar into your Scala service, in stages
Staying in Java? Moving a Java app from LangChain4j or Spring AI is under Java and Kotlin.