Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.85 KB

File metadata and controls

44 lines (35 loc) · 2.85 KB

RetrieverConfig

Full retriever definition persisted in MongoDB.

Properties

Name Type Description Notes
retriever_id str Stable retriever identifier (REQUIRED). [optional]
retriever_name str Unique retriever name within namespace (REQUIRED).
description str Detailed description of retriever behaviour (OPTIONAL). [optional]
collection_ids List[str] Collections queried by the retriever. Can be empty for query-only inference mode. [optional]
stages List[StageConfig] Ordered list of stage configurations (REQUIRED).
input_schema Dict[str, RetrieverInputSchemaFieldOutput] JSON Schema describing expected user inputs (REQUIRED). Properties must use RetrieverInputSchemaField which supports all bucket types plus document_reference. [optional]
budget_limits BudgetLimits Execution budget limits for the retriever (OPTIONAL). [optional]
feature_dependencies List[FeatureAddress] Feature addresses required by stages (OPTIONAL, aids validation). [optional]
tags List[str] Arbitrary tags to help organise retrievers (OPTIONAL). [optional]
display_config Dict[str, object] Display configuration for public retriever UI rendering (OPTIONAL). Defines how the search interface should appear when the retriever is published, including input fields, theme, layout, exposed result fields, and field formatting. This configuration is used as the default when publishing the retriever. [optional]
version int Version number that increments on each update (REQUIRED). [optional] [default to 1]
created_at datetime Creation timestamp in UTC (REQUIRED). [optional]
updated_at datetime Last update timestamp in UTC (REQUIRED). [optional]
created_by str Identifier of the user who created the retriever (OPTIONAL). [optional]
updated_by str Identifier of the user who last updated the retriever (OPTIONAL). [optional]

Example

from mixpeek.models.retriever_config import RetrieverConfig

# TODO update the JSON string below
json = "{}"
# create an instance of RetrieverConfig from a JSON string
retriever_config_instance = RetrieverConfig.from_json(json)
# print the JSON string representation of the object
print(RetrieverConfig.to_json())

# convert the object into a dict
retriever_config_dict = retriever_config_instance.to_dict()
# create an instance of RetrieverConfig from a dict
retriever_config_from_dict = RetrieverConfig.from_dict(retriever_config_dict)

[Back to Model list] [Back to API list] [Back to README]