token_counter.embedding_token_counts[0].prompt
but that prints the embedded text, not the query being made to the vector store to fetch the context.query_engine = RetrieverQueryEngine.from_args( retriever, response_mode='no_text') ###### response = query_engine.query(chat_query.query) # context = response.source_nodes[0].node.text