nemoguardrails.integrations.langchain.providers.providers
Module that exposes all the supported LLM providers.
Currently, this module automatically discovers all the LLM providers available in LangChain and registers them.
Additional providers can be registered using the register_llm_provider function.
Module Contents
Functions
Data
API
Adds asynchronous support to LLM providers that only have synchronous methods.
Creates a mapping from provider name to chat model class. The provider name is defined as the last segment of the module path. For example, for module path “langchain_community.chat_models.google_palm”, the provider name is “google_palm”.
Automatically discover all LLM providers from LangChain.
Consolidates all chat provider names.
Automatically discover all LLM providers from LangChain.
This function is deprecated and will be removed in a future release.
Use _discover_langchain_providers directly instead.
Returns the list of supported chat providers.
Returns the list of supported chat providers.
Returns the list of supported LLM providers.
Register an additional chat provider.
Register an additional LLM provider.