Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Caching strategy for LLMs I/O
type Embedder ¶ added in v0.10.0
Embedding is a wrapper for LLMs that support embeddings. It provides simple interface to get embeddings vectors for text.
func NewEmbedder ¶ added in v0.10.0
type Limiter ¶
Rate limit startegy for LLMs I/O
func NewLimiter ¶
Create rate limit strategy for LLMs. It defines per minute policy for requests and tokens.
type Logger ¶ added in v0.5.1
Logger of LLM's I/O
func NewJsonLogger ¶ added in v0.7.0
func NewTextLogger ¶ added in v0.7.0
type Quota ¶ added in v0.7.0
Quoting strategy for LLM I/O
func (*Quota) ResetQuota ¶ added in v0.7.0
func (q *Quota) ResetQuota()
type Route ¶
type Route string
Chatter interface option allowing to dynamically route prompts to choosen models
func (Route) ChatterOpt ¶
func (Route) ChatterOpt()
Click to show internal directories.
Click to hide internal directories.