
For more interesting stories & photos, or sample of Architecture portfolio and illustration and my project archives, please visit my website at Hon Wong Architecture Portfolio
http://wonghon.com
from openrouter import OpenRouter
import os
with OpenRouter(api_key=os.getenv("OPENROUTER_API_KEY")) as client:
response = client.chat.send(
model="~openai/gpt-sol-latest",
messages=[
{"role": "user", "content": "What is the meaning of life?"}
],
)
print(response.choices[0].message.content)
沒有留言:
張貼留言