Find answers from the community

Updated last year

Is there a way to do the same thing usig

At a glance

The community member is asking if there is a way to use LlamaIndex without adding something to the query. The comments suggest that the community member may be referring to system-user-bot roles, query engines, or agents in LlamaIndex. Another community member mentions using GPT through LlamaIndex and provides an example of using the chat_engine.chat() method with a chat history. However, there is no explicitly marked answer to the original question.

Useful resources
Is there a way to do the same thing usig llama-index without saying adding it to the query?
V
P
7 comments
Are you referring to system-user-bot roles?
If so, follow-up question: Are you talking about query engines in LlamaIndex or Agents in LlamaIndex?
I'm using GPT through LlamaIndex
Plain Text
chat_engine.chat("hello", chat_history=chat_history)

where chat_history is a list of ChatMessage objects.
Are you talking about query engines in LlamaIndex or Agents in LlamaIndex?
I don't know which you're using, so I assumed that you're using a Chat Engine.
Add a reply
Sign up and join the conversation on Discord