class
Qdrant::Api::DocumentOptions
- Qdrant::Api::DocumentOptions
- Reference
- Object
Overview
Option variants for text documents. Ether general-purpose options or BM25-specific options. BM25-specific will only take effect if the qdrant/bm25 is specified as a model.
DocumentOptions (OpenAPI anyOf): a value matching at least one of the listed schemas.
Implemented as a thin wrapper that (de)serialises by trying each member in order
(the first that parses wins), so it transparently handles scalar, array and object members.
Defined in:
qdrant-api/models/document_options.crConstructors
- .from_json(string_or_io) : self
- .from_json_any(data : JSON::Any) : self
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(value : Bm25Config)
- .new(value : Hash(String, JSON::Any))
- .new(pull : JSON::PullParser)
Class Method Summary
-
.openapi_any_of
List of classes defined in anyOf (OpenAPI v3)
Instance Method Summary
- #to_json(builder : JSON::Builder)
- #to_yaml(builder : YAML::Nodes::Builder)
- #value : Hash(String, JSON::Any) | Qdrant::Api::Bm25Config