|
| 1 | +name: "Realtime Avatar Chat" |
| 2 | +slug: "realtime-avatar-chat" |
| 3 | +icon: "voice" |
| 4 | +category_slugs: ["customer-support", "marketing", "sales"] |
| 5 | +description: "Use your HeyGen's Avatar to answer questions in real time directly from your data." |
| 6 | +provider_slug: "promptly" |
| 7 | +pages: |
| 8 | + - title: "Avatar Information" |
| 9 | + description: "Provide information about the avatar" |
| 10 | + input_fields: |
| 11 | + - name: "avatar_name" |
| 12 | + title: "Avatar Name" |
| 13 | + type: "string" |
| 14 | + description: "Name of the avatar to use. You can find this in your Heygen account" |
| 15 | + path: "processors[1].config.avatar_name" |
| 16 | + - name: "voice_id" |
| 17 | + title: "Voice ID" |
| 18 | + type: "string" |
| 19 | + description: "Voice ID of the avatar to use. You can find this in your Heygen account" |
| 20 | + path: "processors[1].config.voice_id" |
| 21 | + - name: "connection_id" |
| 22 | + title: "Connection ID" |
| 23 | + type: "connection" |
| 24 | + description: "API Key Authentication connection to use with your HeyGen key" |
| 25 | + path: "processors[1].config.connection_id" |
| 26 | + - title: "Data" |
| 27 | + description: "Provide data for the avatar to answer from" |
| 28 | + input_fields: |
| 29 | + - name: "datasource" |
| 30 | + title: "Datasource" |
| 31 | + type: "datasource" |
| 32 | + description: "Select the data for the avatar to answer from. Click on the icon to the right to add new data" |
| 33 | + path: "processors[0].config.datasource" |
| 34 | +app: |
| 35 | + name: Realtime Avatar Chat |
| 36 | + type_slug: web |
| 37 | + description: "Chat with an avatar in real time" |
| 38 | + config: |
| 39 | + input_template: "" |
| 40 | + allowed_sites: [] |
| 41 | + layout: <promptly-heygen-realtime-avatar processor="_inputs2" /> |
| 42 | + input_fields: |
| 43 | + - name: input |
| 44 | + title: Input |
| 45 | + description: "Ask your question" |
| 46 | + type: string |
| 47 | + required: true |
| 48 | + output_template: |
| 49 | + markdown: | |
| 50 | + {{_inputs1.answer}} |
| 51 | + processors: |
| 52 | + - id: _inputs1 |
| 53 | + name: Text-Chat |
| 54 | + description: Conversation style question and answering from provided data |
| 55 | + provider_slug: promptly |
| 56 | + processor_slug: text_chat |
| 57 | + config: |
| 58 | + model: gpt-3.5-turbo |
| 59 | + system_message_prefix: You are a helpful chat assistant |
| 60 | + instructions: >- |
| 61 | + You are a chatbot that uses the provided context to answer the user's |
| 62 | + question. |
| 63 | +
|
| 64 | + If you cannot answer the question based on the provided context, say you |
| 65 | + don't know the answer. |
| 66 | +
|
| 67 | + No answer should go out of the provided input. If the provided input is |
| 68 | + empty, return saying you don't know the answer. |
| 69 | +
|
| 70 | + Keep the answers terse. |
| 71 | + show_citations: false |
| 72 | + citation_instructions: >- |
| 73 | + Use source value to provide citations for the answer. Citations must be |
| 74 | + in a new line after the answer. |
| 75 | + k: 5 |
| 76 | + chat_history_limit: 20 |
| 77 | + temperature: 0.7 |
| 78 | + use_azure_if_available: true |
| 79 | + use_localai_if_available: false |
| 80 | + chat_history_in_doc_search: 0 |
| 81 | + hybrid_semantic_search_ratio: 0.75 |
| 82 | + seed: null |
| 83 | + input: |
| 84 | + search_filters: "" |
| 85 | + question: "{{_inputs0.input}} " |
| 86 | + output_template: |
| 87 | + markdown: |- |
| 88 | + {{answer}} |
| 89 | + {% if citations %} |
| 90 | +
|
| 91 | + Citations: |
| 92 | + {% for citation in citations %} |
| 93 | +
|
| 94 | + {{citation.text}} |
| 95 | + {{citation.source}} |
| 96 | + {% endfor %} |
| 97 | + {% endif %} |
| 98 | + - id: _inputs2 |
| 99 | + name: Realtime Avatar |
| 100 | + description: Bring digital avatars to life in real time. |
| 101 | + provider_slug: heygen |
| 102 | + processor_slug: realtime_avatar |
| 103 | + config: |
| 104 | + reuse_session: true |
| 105 | + quality: medium |
| 106 | + avatar_name: "" |
| 107 | + voice_id: "" |
| 108 | + connection_id: "" |
| 109 | + input_stream: true |
| 110 | + input: |
| 111 | + task_type: repeat |
| 112 | + session_id: "" |
| 113 | + text: "{{_inputs1.answer}}" |
| 114 | + output_template: {} |
| 115 | + is_published: true |
| 116 | + web_config: null |
| 117 | + twilio_config: null |
| 118 | + slack_config: null |
| 119 | + discord_config: null |
0 commit comments