Icon

JKISeason2-11@obito_​od

Just Knime It season2-11@obito_od

Just KNIME It! Season2
Challenge 11: Ask me Anything with GPT-3
@obito_od回答例











Just KNIME It! season2-11 Knime ver. : 4.7.2 方針https://hub.knime.com/-/spaces/-/latest/~L1Wc6IcyxchsP1SB/にあるワークフローを改変して適用させる。その際、ある程度node数を少なくしてメンテナンスしやすくする 説明言語モデルは非常に人気があり、APIを通じて効率的にプロジェクトに組み込むことができます。APIは、言語モデルに処理させたい入力データ(テキストやプロンプトなど)を含むエンドポイントの1つにHTTPリクエストを送信することで対話することができます。この課題では、OpenAIの「text-davinci-003」GPT-3モデルを使って、自然言語のクエリ(例えば「KNIMEとは何ですか」)に答えるKNIMEワークフローを構築するよう求められています。オプション:KNIMEコンポーネントとして構築することも可能です。注:この課題を完了するには、OpenAIからのAPIキーが必要です。取得するには、このブログ記事の指示に従います。また、APIリクエストを行うためのOpenAIのドキュメントもあります。最後に、KNIME Hubにソリューションをアップロードする際には、API Keyを共有しないでください。 Description: Language models have become extremely popular, and can be efficientlyincorporated into your projects through an API. You can interact with an API by sending HTTPrequests to one of its endpoints, which should include input data (e.g., text or a prompt) thatyou want the language model to process. For this challenge, you are asked to use OpenAI's"text-davinci-003" GPT-3 model to build a KNIME workflow that answers natural languagequeries -- for example, "What is KNIME?". Optional: You can also built this as a KNIMEcomponent. Note: You will need the API Key from OpenAI to complete this challenge. To getit, follow the instructions in this blog post. Here's also OpenAI's documentation for makingAPI requests. Finally, do not share your API Keys while uploading your solution to KNIMEHub. componentの中身 string付与API key入力prompt入れ込みJSON作成JSON format作成text-davinci-003prompt入力prompt POST入っていない場合には先に進めない変換promptが入っているか確認フィルタリング必要情報取り出しフィルタリングリフレッシュボタン表示variable化カラムまとめString Manipulation(Variable) String Widget String Manipulation String to JSON ContainerInput (JSON) String Widget POST Request Empty Table Switch Variable toTable Row Rule-basedRow Filter Column Filter JSON Path Column Filter RefreshButton Widget Text Output Widget Table Rowto Variable Column Appender Chat GPT Just KNIME It! season2-11 Knime ver. : 4.7.2 方針https://hub.knime.com/-/spaces/-/latest/~L1Wc6IcyxchsP1SB/にあるワークフローを改変して適用させる。その際、ある程度node数を少なくしてメンテナンスしやすくする 説明言語モデルは非常に人気があり、APIを通じて効率的にプロジェクトに組み込むことができます。APIは、言語モデルに処理させたい入力データ(テキストやプロンプトなど)を含むエンドポイントの1つにHTTPリクエストを送信することで対話することができます。この課題では、OpenAIの「text-davinci-003」GPT-3モデルを使って、自然言語のクエリ(例えば「KNIMEとは何ですか」)に答えるKNIMEワークフローを構築するよう求められています。オプション:KNIMEコンポーネントとして構築することも可能です。注:この課題を完了するには、OpenAIからのAPIキーが必要です。取得するには、このブログ記事の指示に従います。また、APIリクエストを行うためのOpenAIのドキュメントもあります。最後に、KNIME Hubにソリューションをアップロードする際には、API Keyを共有しないでください。 Description: Language models have become extremely popular, and can be efficientlyincorporated into your projects through an API. You can interact with an API by sending HTTPrequests to one of its endpoints, which should include input data (e.g., text or a prompt) thatyou want the language model to process. For this challenge, you are asked to use OpenAI's"text-davinci-003" GPT-3 model to build a KNIME workflow that answers natural languagequeries -- for example, "What is KNIME?". Optional: You can also built this as a KNIMEcomponent. Note: You will need the API Key from OpenAI to complete this challenge. To getit, follow the instructions in this blog post. Here's also OpenAI's documentation for makingAPI requests. Finally, do not share your API Keys while uploading your solution to KNIMEHub. componentの中身 string付与API key入力prompt入れ込みJSON作成JSON format作成text-davinci-003prompt入力prompt POST入っていない場合には先に進めない変換promptが入っているか確認フィルタリング必要情報取り出しフィルタリングリフレッシュボタン表示variable化カラムまとめString Manipulation(Variable) String Widget String Manipulation String to JSON ContainerInput (JSON) String Widget POST Request Empty Table Switch Variable toTable Row Rule-basedRow Filter Column Filter JSON Path Column Filter RefreshButton Widget Text Output Widget Table Rowto Variable Column Appender Chat GPT

Nodes

Extensions

Links