ReaderConfig#

class langchain_community.embeddings.titan_takeoff.ReaderConfig[source]#

Bases: BaseModel

Configuration for the reader to be deployed in Takeoff.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param consumer_group: str = 'primary'#

The consumer group to place the reader into

param device: Device = Device.cuda#

The device to use for inference, cuda or cpu

param model_name: str [Required]#

The name of the model to use