Module: Rager
- Extended by:
- T::Sig
- Defined in:
- lib/rager/error.rb,
lib/rager.rb,
lib/rager/chat.rb,
lib/rager/types.rb,
lib/rager/config.rb,
lib/rager/logger.rb,
lib/rager/result.rb,
lib/rager/context.rb,
lib/rager/options.rb,
lib/rager/version.rb,
lib/rager/mesh_gen.rb,
lib/rager/http/verb.rb,
lib/rager/image_gen.rb,
lib/rager/operation.rb,
lib/rager/chat/schema.rb,
lib/rager/chat/message.rb,
lib/rager/chat/options.rb,
lib/rager/http/request.rb,
lib/rager/http/response.rb,
lib/rager/mesh_gen/options.rb,
lib/rager/chat/message_role.rb,
lib/rager/errors/http_error.rb,
lib/rager/image_gen/options.rb,
lib/rager/chat/message_delta.rb,
lib/rager/errors/parse_error.rb,
lib/rager/http/adapters/mock.rb,
lib/rager/chat/message_content.rb,
lib/rager/errors/options_error.rb,
lib/rager/chat/providers/openai.rb,
lib/rager/http/adapters/abstract.rb,
lib/rager/chat/providers/abstract.rb,
lib/rager/http/adapters/async_http.rb,
lib/rager/chat/message_content_type.rb,
lib/rager/mesh_gen/providers/abstract.rb,
lib/rager/image_gen/providers/abstract.rb,
lib/rager/mesh_gen/providers/replicate.rb,
lib/rager/errors/unknown_provider_error.rb,
lib/rager/image_gen/providers/replicate.rb,
lib/rager/chat/message_content_image_type.rb,
lib/rager/errors/missing_credentials_error.rb
Overview
typed: strict frozen_string_literal: true
Defined Under Namespace
Modules: Chat, Errors, Http, ImageGen, MeshGen, Options, Types Classes: Config, Context, Error, Logger, Operation, Result
Constant Summary collapse
- ConfigBlock =
T.type_alias do T.proc.params(config: Config).void end
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.configure {|config| ... } ⇒ Object
25 26 27 |
# File 'lib/rager.rb', line 25 def self.configure(&block) yield(config) end |