from langchain.chat_models import ChatOpenAI
from langchain.schema import HumanMessage
client = ChatOpenAI(
openai_api_base="https://router.neutrinoapp.com/api/llm-router",
openai_api_key="<Neutrino-API-key>",
model_name="your-neutrino-router-id", # (or 'default')
)
response = client.invoke([HumanMessage(content="What is the capital of France?")])
print(response.content)