Find answers from the community

Updated 3 months ago

Is it integrated or not yet

Is it integrated or not yet ?
L
o
2 comments
You can use the integration from langchain for this!

Plain Text
from llama_index.llms import LangChainLLM

llm = LangChainLLM(<llm from langchain>)

# pretty sure cohere has a 2048 context windo
service_context = ServiceContext.from_defaults(llm=llm, context_window=2048)
@Logan M thank you will check that and revert.
Add a reply
Sign up and join the conversation on Discord