Skip to content

Commit

Permalink
Support Predibase-LangChain integration for both Predibase SDK-v1 and…
Browse files Browse the repository at this point in the history
… Predibase SDK-v2 users.
  • Loading branch information
alexsherstinsky committed Apr 24, 2024
1 parent 7e2f79b commit 05ddb19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/community/langchain_community/llms/predibase.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ def _call(
found in the Predibase repository of fine-tuned adapters."""
) from ge
else:
# The adapter version is omitted, hence look for the adapter ID in the HuggingFace repository.
# The adapter version is omitted,
# hence look for the adapter ID in the HuggingFace repository.
try:
response = lorax_client.generate(
prompt=prompt,
Expand Down

0 comments on commit 05ddb19

Please sign in to comment.