Build tools and playgrounds
Installation and First Example use sbt. Each page here makes a first call another way.
Build tools
- Scala CLI Quick Start - A first LLM call from a single file, with no sbt project
- Maven Quick Start - A complete
pom.xmlthat runs a first call from Java withllm4s-java-api - Gradle Integration - Use LLM4S from a Gradle (Java or Kotlin) build
- Mill Quick Start - A
build.millproject with a first call and a test that needs no API key - JBang Quick Start - A first LLM call from one Java file, with no build tool
Without a project
- Try llm4s in the REPL -
ask,extractandchat()behind one import, in the Scala CLI REPL, a worksheet or a script - Playground (Codespaces) - Try LLM4S in the browser: a GitHub Codespace with a local model, no install and no API key