LlmClient

marola.llm.LlmClient
See theLlmClient companion trait
object LlmClient

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LlmClient.type

Members list

Type members

Classlikes

final case class NoCompletionException(message: String) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def extractContent(responseBody: String): String

Shared response-shape extraction: every OpenAI-compatible chat-completions response (Ollama included) nests the reply at choices[0].message.content.

Shared response-shape extraction: every OpenAI-compatible chat-completions response (Ollama included) nests the reply at choices[0].message.content.

Attributes