Update databricks.py to fix docs example

Correcting: equals sign after temperature; resolving chat_model variable
pull/21915/head
TJ 2 weeks ago committed by GitHub
parent 242eeb537f
commit be6264601d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -17,10 +17,10 @@ class ChatDatabricks(ChatMlflow):
from langchain_community.chat_models import ChatDatabricks
chat = ChatDatabricks(
chat_model = ChatDatabricks(
target_uri="databricks",
endpoint="databricks-llama-2-70b-chat",
temperature-0.1,
temperature=0.1,
)
# single input invocation

Loading…
Cancel
Save