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 if the input data cannot be parsed to form a valid model.

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