Module: LittleGhost::Embeddings
- Defined in:
- lib/little_ghost/embeddings/request.rb,
lib/little_ghost/embeddings/response.rb
Overview
Carries provider-neutral inputs and results for text embeddings.
Applications usually call LittleGhost.embed. Provider adapters receive a Request and return a Response without exposing provider response objects.
Defined Under Namespace
Constant Summary collapse
- DEFAULT_LIMITS =
{ max_inputs: 128, max_input_bytes: 64 * 1024, max_total_bytes: 1024 * 1024 }.freeze