Open Source, Llamaindex, Gpt 4, Llm, OpenAI.
batch_runner.aevaluate_queries( query_engine, queries=questions, reference=reference ) return eval_results Get Query Engine, Questions, and References. query_engine, rag_dataset = create_query_engine_rag_dataset("./data/llama2") questions = [example.query for example in rag_dataset.examples]