Find answers from the community

Y
YJ50
Offline, last seen 3 months ago
Joined September 25, 2024
In a simple scenario such as:
Plain Text
vector_store = FaissVectorStore.from_persist_dir(FLAGS.vector_store_dir)
storage_context = StorageContext.from_defaults(vector_store=vector_store, persist_dir=FLAGS.vector_store_dir)
index = load_index_from_storage(storage_context=storage_context)
query_engine = index.as_query_engine(similarity_top_k = FLAGS.similarity_top_k)

When response is generated in a way like response = query_engine.query("My question!"), How'd I actually get the whole prompt (containing system message and all parsed texts)?
I thought this was conceptually easy but couldn't figure it out just from codebase...
3 comments
Y
W