roboto.ai.core.context#
Module Contents#
- class roboto.ai.core.context.RobotoLLMContext(/, **data)#
Bases:
pydantic.BaseModelContextual information about what a user is trying to do. May be passed along to Roboto LLM based code paths in order to enrich results
- Parameters:
data (Any)
- dataset_ids: list[str] = None#
IDs of datasets that are relevant to the user’s query.
- file_ids: list[str] = None#
IDs of files that are relevant to the user’s query.
- misc_context: dict[str, Any] | None = None#
Miscellaneous context that is relevant to the user’s query.
- visualizer_state: dict[str, Any] | None = None#
State of the visualizer, if a request is being made from the visualizer. This is expected to be a relatively opaque JSON blob