Find answers from the community

Updated 6 months ago

Hey everyone. Is there a way to call the

At a glance

The community member is asking if there is a way to call the LLM (Large Language Model) without an index, wanting a basic call to OpenAI without the knowledge in the index. Another option they are considering is using the OpenAI API/SDK. In the comments, another community member suggests that once the LLM instance is created, it can be interacted with directly using llm.chat() and llm.complete(), and provides a link to relevant documentation.

Useful resources
Hey everyone. Is there a way to call the LLM without an index, I want it to be like a basic call to OpenAI without the knowledge in the index. OR would you recommend doing that with the OpenAI API/SDK?
W
1 comment
Once you create your llm instance , you can interact with the llm directly as well.

llm.chat(), llm.complete()
https://docs.llamaindex.ai/en/stable/examples/llm/openai/
Add a reply
Sign up and join the conversation on Discord