Files
povtornyy-ekzamen-graf-s-re…/main.py
T

12 lines
321 B
Python

from langchain_openai import ChatOpenAI
def main():
# Simple test to ensure imports work
try:
llm = ChatOpenAI()
print("LangChain OpenAI import successful. LLM instance created.")
except Exception as e:
print(f"Error creating LLM instance: {e}")
if __name__ == "__main__":
main()