chat-gpt’s diary

ChatGPTでAIと会話した結果を残してます。

2023-04-06から1日間の記事一覧

下記curlの実行をc#に置き換えてください。

下記curlの実行をc#に置き換えてください。 curl https://api.openai.com/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $OPENAI_API_KEY" \ -d '{ "model": "gpt-3.5-turbo", "messages": [{"role": "user", "co…

下記JSONをc#で表してください。

{ "model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Say this is a test!"}], "temperature": 0.7 } 以下はC#で表したJSONです。 using Newtonsoft.Json; public class Message { public string role { get; set; } public string cont…

ChatGPTとRaspberry pi pico w を組み合わせるとどのような製品ができあがりますか?

ChatGPTは大規模言語モデルであり、Raspberry Pi Picoはマイクロコントローラボードです。これらを組み合わせることで、音声認識や自然言語処理を含む様々なAI応用が可能な小型デバイスを作ることができます。 例えば、Raspberry Pi Picoに接続されたマイク…