langchain
langchain: init_chat_model() to import ChatOllama from langchain-ollama and fallback on langchain-community
#24821
Merged

langchain: init_chat_model() to import ChatOllama from langchain-ollama and fallback on langchain-community #24821

StreetLamb
StreetLamb296 days ago

Description: init_chat_model() should import ChatOllama from langchain-ollama. If that fails, fallback to langchain-community

StreetLamb use ChatOllama from langchain-ollama instead of langchain-community
1f9168c5
StreetLamb check for langchain_ollama package before importing ChatOllama
dc0cac82
dosubot dosubot added size:S
vercel
vercel296 days ago (edited 296 days ago)

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Jul 30, 2024 2:48pm
dosubot dosubot added langchain
dosubot dosubot added Ɑ: models
dosubot dosubot added 🤖:improvement
StreetLamb Fallback to langchain-community if unable to import from langchain-ol…
ce737ae5
StreetLamb StreetLamb force pushed to ce737ae5 296 days ago
jacoblee93
jacoblee93296 days ago

Thank you!

jacoblee93
jacoblee93 approved these changes on 2024-07-30
dosubot dosubot added lgtm
baskaryan baskaryan merged d8f3ea82 into master 296 days ago
StreetLamb StreetLamb deleted the init_chat_ollama branch 295 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone