Module: Chroma
- Extended by:
- Forwardable
- Defined in:
- lib/chroma/util.rb,
lib/chroma/chroma.rb,
lib/chroma/errors.rb,
lib/chroma/version.rb,
lib/chroma/resources/database.rb,
lib/chroma/resources/embedding.rb,
lib/chroma/chroma_configuration.rb,
lib/chroma/resources/collection.rb,
lib/chroma/api_operations/request.rb
Defined Under Namespace
Modules: APIOperations, Resources, Util Classes: APIConnectionError, APIError, ChromaConfiguration, ChromaError, InvalidRequestError
Constant Summary collapse
- LEVEL_DEBUG =
map to the same values as the standard library’s logger
Logger::DEBUG
- LEVEL_ERROR =
Logger::ERROR
- LEVEL_INFO =
Logger::INFO
- VERSION =
"0.8.2"
Class Attribute Summary collapse
-
.config ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object (readonly)
Returns the value of attribute config.
14 15 16 |
# File 'lib/chroma/chroma.rb', line 14 def config @config end |
Class Method Details
.api_url ⇒ Object
27 28 29 |
# File 'lib/chroma/chroma.rb', line 27 def self.api_url "#{connect_host}/#{api_base}/#{api_version}" end |