Hi! I'm trying to determine how I can get the reference (text string and doc name) for a simple RAG app I'm building with local pdfs. I'm using the framework from create-llama ( LlamaParse too) + weaviate. I'm looking at the following line in chat.py:
response = await chat_engine.astream_chat(lastMessage.content, messages)
And I'm wondering how I could do this? Do I need to provide a system prompt and hope the LLM returns with something or can I specify something so it returns whatever context str (+ sources) it worked with?