Dsxir. Errors. LM. ContextWindow exception
(dsxir v0.1.0)
Copy Markdown
Raised when the LM rejects a request because the prompt exceeded its context window.
Summary
Functions
Create an Elixir.Dsxir.Errors.LM.ContextWindow without raising it.
Functions
@spec exception(opts :: Keyword.t()) :: %Dsxir.Errors.LM.ContextWindow{ __exception__: true, bread_crumbs: term(), class: term(), limit: term(), model_id: term(), parent_error: term(), path: term(), prompt_tokens: term(), splode: term(), stacktrace: term(), vars: term() }
Create an Elixir.Dsxir.Errors.LM.ContextWindow without raising it.
Keys
- :model_id
- :prompt_tokens
- :limit
- :parent_error