ChatDappierAI()Dappier chat large language models.
Dappier is a platform enabling access to diverse, real-time data models.
Enhance your AI applications with Dappier's pre-trained, LLM-ready data models
and ensure accurate, current responses with reduced inaccuracies.
To use one of our Dappier AI Data Models, you will need an API key. Please visit Dappier Platform (https://platform.dappier.com/) to log in and create an API key in your profile.
Example:
.. code-block:: python
from langchain_community.chat_models import ChatDappierAI from langchain_core.messages import HumanMessage
ChatDappierAI with the desired configurationchat = ChatDappierAI( dappier_endpoint="https://api.dappier.com/app/datamodel/dm_01hpsxyfm2fwdt2zet9cg6fdxt", dappier_api_key="<YOUR_KEY>")
messages = [HumanMessage(content="hello")]
chat.invoke(messages)
you can find more details here : https://docs.dappier.com/introduction