NormansWhat type of major impact did the Norman dynasty have on modern Europe?Who was famed for their Christian spirit?Who assimilted the Roman language?Who ruled the country of Normandy?What principality did William the conquerer found?What is the original meaning of the word Norman?When was the Latin version of the word Norman first recorded?What name comes from the English words Normans/Normanz?"""questions = data.split("\n")Example 1: LangChain OpenAI Q&A; Publish metrics and logs to Infino‚Äã# Set your key here.# os.environ["OPENAI_API_KEY"] = "YOUR_API_KEY"# Create callback handler. This logs latency, errors, token usage, prompts as well as prompt responses to Infino.handler = InfinoCallbackHandler(    model_id="test_openai", model_version="0.1", verbose=False)# Create LLM.llm = OpenAI(temperature=0.1)# Number of questions to ask the OpenAI model. We limit to a short number here to save $$ while running this demo.num_questions = 10questions = questions[0:num_questions]for question in questions:    print(question)    # We send the question to OpenAI API, with Infino callback.    llm_result = llm.generate([question], callbacks=[handler])    print(llm_result)    In what country is Normandy located?    generations=[[Generation(text='\n\nNormandy is located in France.', generation_info={'finish_reason': 'stop', 'logprobs': None})]] llm_output={'token_usage': {'total_tokens': 16, 'prompt_tokens': 7, 'completion_tokens': 9}, 'model_name': 'text-davinci-003'} run=[RunInfo(run_id=UUID('67a516e3-d48a-4e83-92ba-a139079bd3b1'))]    When were the Normans in Normandy?    generations=[[Generation(text='\n\nThe Normans first settled in Normandy in the late 9th century.', generation_info={'finish_reason': 'stop', 'logprobs': None})]] llm_output={'token_usage': {'total_tokens': 24, 'prompt_tokens': 8, 'completion_tokens': 16}, 'model_name': 'text-davinci-003'} run=[RunInfo(run_id=UUID('6417a773-c863-4942-9607-c8a0c5d486e7'))]    From which countries did the Norse originate?
This example shows how one can track the following while calling OpenAI and ChatOpenAI models via LangChain and Infino:
This example shows how one can track the following while calling OpenAI and ChatOpenAI models via LangChain and Infino: ->: NormansWhat type of major impact did the Norman dynasty have on modern Europe?Who was famed for their Christian spirit?Who assimilted the Roman language?Who ruled the country of Normandy?What principality did William the conquerer found?What is the original meaning of the word Norman?When was the Latin version of the word Norman first recorded?What name comes from the English words Normans/Normanz?"""questions = data.split("\n")Example 1: LangChain OpenAI Q&A; Publish metrics and logs to Infino‚Äã# Set your key here.# os.environ["OPENAI_API_KEY"] = "YOUR_API_KEY"# Create callback handler. This logs latency, errors, token usage, prompts as well as prompt responses to Infino.handler = InfinoCallbackHandler(    model_id="test_openai", model_version="0.1", verbose=False)# Create LLM.llm = OpenAI(temperature=0.1)# Number of questions to ask the OpenAI model. We limit to a short number here to save $$ while running this demo.num_questions = 10questions = questions[0:num_questions]for question in questions:    print(question)    # We send the question to OpenAI API, with Infino callback.    llm_result = llm.generate([question], callbacks=[handler])    print(llm_result)    In what country is Normandy located?    generations=[[Generation(text='\n\nNormandy is located in France.', generation_info={'finish_reason': 'stop', 'logprobs': None})]] llm_output={'token_usage': {'total_tokens': 16, 'prompt_tokens': 7, 'completion_tokens': 9}, 'model_name': 'text-davinci-003'} run=[RunInfo(run_id=UUID('67a516e3-d48a-4e83-92ba-a139079bd3b1'))]    When were the Normans in Normandy?    generations=[[Generation(text='\n\nThe Normans first settled in Normandy in the late 9th century.', generation_info={'finish_reason': 'stop', 'logprobs': None})]] llm_output={'token_usage': {'total_tokens': 24, 'prompt_tokens': 8, 'completion_tokens': 16}, 'model_name': 'text-davinci-003'} run=[RunInfo(run_id=UUID('6417a773-c863-4942-9607-c8a0c5d486e7'))]    From which countries did the Norse originate?