日本語
OpenAIモデルからの応答を呼び出す
OPENAI_INVOKE
OPENAI_INVOKE_WITH_FILE
- id: generate_summary name: generate_summary tool: OPENAI_INVOKE config: - name: version value: gpt-4 - name: temperature value: 0.7 input: - name: prompt value: | 以下のテキストを3つの要点で要約してください: {{steps.previous_step.result.content}}
- id: extract_entities name: extract_entities tool: OPENAI_INVOKE config: - name: version value: gpt-4 - name: temperature value: 0.1 input: - name: prompt value: | テキストから以下の情報を抽出してください: - 人名 - 組織名 - 場所 - 日付 テキスト: {{steps.input.result.content}} - name: json_schema value: | { "type": "object", "properties": { "entities": { "type": "object", "properties": { "people": { "type": "array", "items": {"type": "string"} }, "organizations": { "type": "array", "items": {"type": "string"} }, "locations": { "type": "array", "items": {"type": "string"} }, "dates": { "type": "array", "items": {"type": "string"} } } } } }
- id: analyze_document name: analyze_document tool: OPENAI_INVOKE_WITH_FILE config: - name: version value: gpt-4 input: - name: prompt value: | この文書を分析して以下を提供してください: 1. 簡潔な要約 2. 議論された主要なトピック 3. アクションアイテムや推奨事項 - name: file_url value: "{{steps.upload_file.result.url}}"