RivaAuthMixin#
- class langchain_community.utilities.nvidia_riva.RivaAuthMixin[source]#
Bases:
BaseModel
Configuration for the authentication to a Riva service connection.
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 ssl_cert: str | None = None#
A full path to the file where Rivaβs public ssl key can be read.
- param url: Annotated[Url, UrlConstraints(max_length=None, allowed_schemes=['http', 'https'], host_required=None, default_host=None, default_port=None, default_path=None)] | str = Url('http://localhost:50051/')#
The full URL where the Riva service can be found.
- property auth: riva.client.Auth#
Return a riva client auth object.