#!pip install langchain-openai
from langchain_openai import ChatOpenAI
import os
import httpx
client = httpx.Client(verify=False)
llm = ChatOpenAI(
base_url="https://genailab.testcompany.in",
model = "azure/genailab-maas-gpt-4.1-nano",
api_key="YourAPIKey",
http_client = client
)
response= llm.invoke("what is the 2 to the power of 20 value?")
print(response.content)
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)