import langchain
from langchain_openai import ChatOpenAI
import os
with open('OPENAI_API_KEY', 'r') as file:
= file.read().strip() env_value
'OPENAI_API_KEY'] = env_value os.environ[
= ChatOpenAI() llm
= ChatOpenAI(model_name="gpt-3.5") model
# llm.invoke("hi there!")