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

northernforce#33_フローを使ったHttpコールアウトの実装

Yoshi
October 17, 2023

 northernforce#33_フローを使ったHttpコールアウトの実装

Yoshi

October 17, 2023
Tweet

More Decks by Yoshi

Other Decks in Business

Transcript

  1. サンプル要求 完了をクリックすると動的Apexクラスを作成する { "model": "text-davinci-003", "prompt": "What is the capital

    city of France?", "temperature": 0.7, "max_tokens": 250 } サンプル応答 { "warning": "Warning message.", "id": "cmpl-7z1DK3tYzc1kLDJ8eAEuGmMTe1amU", "object": "text_completion", "created": 1694777030, "model": "text-davinci-003", "choices": [ { "text": "\n\nParis.", "index": 0, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 8, "completion_tokens": 4, "total_tokens": 12 } }