org.llm4s.llmconnect.model.PromptCache
See thePromptCache companion class
object PromptCache
Attributes
- Companion
- class
- Source
- PromptCache.scala
- Graph
-
- Supertypes
- Self type
-
PromptCache.type
Members list
Type members
Classlikes
enum Scope
A part of the request to cache.
A part of the request to cache.
Attributes
- Source
- PromptCache.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
enum Ttl
How long the provider keeps the cache.
How long the provider keeps the cache.
Attributes
- Source
- PromptCache.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Creates a PromptCache.
Concrete fields
The system prompt and the tools, for the short lifetime: what most repeated requests share.
The system prompt and the tools, for the short lifetime: what most repeated requests share.
Attributes
- Source
- PromptCache.scala
In this article
