Upgrade to Pro — share decks privately, control downloads, hide ads and more …

生成AI元年を個人的に振り返る / Reflecting on First Year of the Generative-AI

hiroga
December 08, 2023
240

生成AI元年を個人的に振り返る / Reflecting on First Year of the Generative-AI

hiroga

December 08, 2023
Tweet

More Decks by hiroga

Transcript

  1. 生成AI元年を個人的にふりかえる • 1月: Stable Diffusionを自宅サーバーに導入 • 3月: 会社SlackにChatGPT導入 • 4月:

    全社会でLangChainハッカソン • 5月: 画像OCRを内製してお客様デモに組み込む • 8月: リリースノートの自動生成スクリプトの作成 • 8月: Metaのマルチモーダルモデルにルー語を聴き取らせる • 12月: MagicAnimateを自宅サーバーに導入
  2. ChatGPTにPRを分類させる const embedLabelToPrInfos = async (prInfos: { id, title, body,

    tickets }[]): Promise<{ id, label }[]> => { const response = await openai.createChatCompletion({ model: "gpt-3.5-turbo-0613", messages: [ { role: "system", content: "Please return the message as the function_call argument as part of the application. Otherwise, the application will crash and cause business damage." }, { role: "system", content: "Please label the Pull Request's title, body, ticket description, and semantic commit message." }, { role: "system", content: `labels: ${labels}` }, { role: "system", content: "Your response prs should not include any properties except id and label, to avoid error at JSON.parse." }, { role: "user", content: JSON.stringify({ prs: prInfos }) } ],
  3. ChatGPTにPRを分類させる const embedLabelToPrInfos = async (prInfos: { id, title, body,

    tickets }[]): Promise<{ id, label }[]> => { const response = await openai.createChatCompletion({ model: "gpt-3.5-turbo-0613", messages: [ { role: "system", content: "Please return the message as the function_call argument as part of the application. Otherwise, the application will crash and cause business damage." }, { role: "system", content: "Please label the Pull Request's title, body, ticket description, and semantic commit message." }, { role: "system", content: `labels: ${labels}` }, { role: "system", content: "Your response prs should not include any properties except id and label, to avoid error at JSON.parse." }, { role: "user", content: JSON.stringify({ prs: prInfos }) } ], 「アプリケーションの一部として、メッセージをfunction_call引数として返してください。そうしないと、アプリケー ションがクラッシュし、ビジネスに損害を与える可能性があります。」 「プルリクエストのタイトル、本文、チケットの説明、およびセマンティックコミットメッセージにラベルを付けてくだ さい。」 「JSON.parseでエラーを避けるため、あなたの応答するprsには、idとラベル以外のプロパティを含めないでくだ さい。」 function callingの成功率を高める気 がする個人的おまじない
  4. 2ヵ国語は余裕 読み上げた内容 My name is Hiro です。 私の好きな食べ物は担々麺、 not like

    Japanese soup style, but real Chinese one, with a lot of 山椒、です 認識結果