PromptSection

org.llm4s.agent.graph.middleware.PromptSection
See thePromptSection companion object
@Experimental
final case class PromptSection

Content a middleware adds to the system prompt of a model request, built for the request and never stored. id is unique within one request; cacheable content is placed before the rest, so a provider's prompt cache sees a stable prefix.

Attributes

Companion
object
Source
AgentMiddleware.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
AgentMiddleware.scala

Attributes

Source
AgentMiddleware.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product