Psychic    jason@psychic.dev    documents = [Document(page_content=sample_text)]qa_transformer = DoctranQATransformer()transformed_document = await qa_transformer.atransform_documents(documents)Output‚ÄãAfter interrogating a document, the result will be returned as a new document with questions and answers provided in the metadata.transformed_document = await qa_transformer.atransform_documents(documents)print(json.dumps(transformed_document[0].metadata, indent=2))    {      "questions_and_answers": [        {          "question": "What is the purpose of this document?",          "answer": "The purpose of this document is to provide important updates and discuss various topics that require the team's attention."        },        {          "question": "Who is responsible for enhancing the network security?",          "answer": "John Doe from the IT department is responsible for enhancing the network security."        },        {          "question": "Where should potential security risks or incidents be reported?",          "answer": "Potential security risks or incidents should be reported to the dedicated team at security@example.com."        },        {          "question": "Who has been recognized for outstanding performance in customer service?",          "answer": "Jane Smith has been recognized for her outstanding performance in customer service."        },        {          "question": "When is the open enrollment period for the employee benefits program?",          "answer": "The document does not specify the exact dates for the open enrollment period for the employee benefits program, but it mentions that it is fast approaching."        },        {          "question": "Who should be contacted for questions or assistance regarding the employee benefits program?",          "answer": "For questions or assistance regarding the employee benefits program, the HR representative, Michael Johnson, should be contacted."        },        {          "question":
Documents used in a vector store knowledge base are typically stored in a narrative or conversational format. However, most user queries are in question format. If we convert documents into Q&A format before vectorizing them, we can increase the likelihood of retrieving relevant documents, and decrease the likelihood of retrieving irrelevant documents.
Documents used in a vector store knowledge base are typically stored in a narrative or conversational format. However, most user queries are in question format. If we convert documents into Q&A format before vectorizing them, we can increase the likelihood of retrieving relevant documents, and decrease the likelihood of retrieving irrelevant documents. ->: Psychic    jason@psychic.dev    documents = [Document(page_content=sample_text)]qa_transformer = DoctranQATransformer()transformed_document = await qa_transformer.atransform_documents(documents)Output‚ÄãAfter interrogating a document, the result will be returned as a new document with questions and answers provided in the metadata.transformed_document = await qa_transformer.atransform_documents(documents)print(json.dumps(transformed_document[0].metadata, indent=2))    {      "questions_and_answers": [        {          "question": "What is the purpose of this document?",          "answer": "The purpose of this document is to provide important updates and discuss various topics that require the team's attention."        },        {          "question": "Who is responsible for enhancing the network security?",          "answer": "John Doe from the IT department is responsible for enhancing the network security."        },        {          "question": "Where should potential security risks or incidents be reported?",          "answer": "Potential security risks or incidents should be reported to the dedicated team at security@example.com."        },        {          "question": "Who has been recognized for outstanding performance in customer service?",          "answer": "Jane Smith has been recognized for her outstanding performance in customer service."        },        {          "question": "When is the open enrollment period for the employee benefits program?",          "answer": "The document does not specify the exact dates for the open enrollment period for the employee benefits program, but it mentions that it is fast approaching."        },        {          "question": "Who should be contacted for questions or assistance regarding the employee benefits program?",          "answer": "For questions or assistance regarding the employee benefits program, the HR representative, Michael Johnson, should be contacted."        },        {          "question":