fetch('https://openrouter.ai/api/v1/chat/completions', { method: 'POST', headers: { Authorization: 'Bearer OPENROUTER_API_KEY', 'HTTP-Referer': 'YOUR_SITE_URL', 'X-Title': 'YOUR_SITE_NAME', 'Content-Type': 'application/json', }, body: JSON.stringify({ model: 'openai/gpt-4o', messages: [ { role: 'user', content: 'What is the meaning of life?', }, ], }), }); 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) 4健康主播鄭凱云 https://www.youtube.com/@health_2.0: 台版米蘭達的創業&職場筆記: 創業者的用人哲學:能被「小用」,才有機會成為「大才」 fetch('https://openrouter.ai/api/v1/chat/completions', { method: 'POST', headers: { Authorization: 'Bearer OPENROUTER_API_KEY', 'HTTP-Referer': 'YOUR_SITE_URL', 'X-Title': 'YOUR_SITE_NAME', 'Content-Type': 'application/json', }, body: JSON.stringify({ model: 'openai/gpt-4o', messages: [ { role: 'user', content: 'What is the meaning of life?', }, ], }), });

2023年10月22日 星期日

台版米蘭達的創業&職場筆記: 創業者的用人哲學:能被「小用」,才有機會成為「大才」

台版米蘭達的創業&職場筆記: 創業者的用人哲學:能被「小用」,才有機會成為「大才」: 創業,尤其開的又是公關公司,讓我有機會接觸到形形色色的人,參與他們的生活,並近距離觀察每個人的處事哲學,是這份工作最有意思與啟發性的地方之一。 對許多企業來說,「變化」就是唯一不變的事,而高科技公司更是如此。因此當得知在某跨國科技公司擔任區域主管的Amy因為內部改組,被...


沒有留言:

張貼留言