Find answers from the community

Updated 11 months ago

Has anyone built any Agents with DBRX in

At a glance

The community members are discussing the use of DBRX (a language model) with LlamaIndex, a library for building AI agents. They are interested in how DBRX performs compared to OpenAI models, which were previously the focus of LlamaIndex and LangChain. The comments suggest that LlamaIndex provides easy abstractions to work with custom language models like DBRX, and that you can simply pass the DBRX language model to LlamaIndex to use it. There is no explicitly marked answer, but the community members provide helpful information on how to integrate DBRX with LlamaIndex.

Has anyone built any Agents with DBRX in LlamaIndex? How does it perform? Are there any considerations or issues with the LI abstractions (I understand for a while most of LangChain and LlamaIndex were tilted towards OpenAI)
W
n
4 comments
LlamaIndex provides easy abstractions to almost everyting that you can use to create your custom agents.

Also OpenAI is used when nothing is passed in the form of llm or embedding model. If you pass them it will use your settings only!
I'm familiar with the abstraction part - I just wasn't sure if the abstractions were generalized enough to support DBRX like it does OpenAI for example.

Thank you!
Yeah, just need to pass the llm and it will work.

Plain Text
#define the llm here
llm = Your dbrx llm

# Now make the llm global 
from llama_index.core import Settings
Settings.llm = llm

# or pass the llm inside every func
query_engine = index.as_query_engine(llm=llm,..)
Thanks friend πŸ˜„
Add a reply
Sign up and join the conversation on Discord