This commit is contained in:
github-merge-queue[bot]
2025-07-30 16:46:38 +00:00
parent 39e8728518
commit 6ee9fa153b
372 changed files with 888 additions and 1663 deletions

View File

@ -23,8 +23,8 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@550;600&amp;display=swap">
<script>!function(){window.semaphore=window.semaphore||[],window.ketch=function(){window.semaphore.push(arguments)};var e=document.createElement("script");e.type="text/javascript",e.src="https://global.ketchcdn.com/web/v3/config/datastax/langflow_org_web/boot.js",e.defer=e.async=!0,document.getElementsByTagName("head")[0].appendChild(e)}()</script>
<script defer="true">!function(){const e=e=>{if(window.gtag&&e.purposes&&"analytics"in e.purposes&&"targeted_advertising"in e.purposes){const n=!0===e.purposes.analytics?"granted":"denied",t=!0===e.purposes.targeted_advertising?"granted":"denied",a={analytics_storage:n,ad_personalization:t,ad_storage:t,ad_user_data:t};window.gtag("consent","update",a)}};window.ketch&&window.ketch("on","consent",e)}()</script><link rel="stylesheet" href="/assets/css/styles.e756ed1e.css">
<script src="/assets/js/runtime~main.c27ec185.js" defer="defer"></script>
<script src="/assets/js/main.9e5db23c.js" defer="defer"></script>
<script src="/assets/js/runtime~main.6a253553.js" defer="defer"></script>
<script src="/assets/js/main.a53144de.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><defs>
@ -150,7 +150,7 @@ If your flow is complex, try searching for the flow&#x27;s name, which is typica
If necessary, modify the payload for your flow.
For example, if your flow doesn&#x27;t have a <strong>Chat input</strong> component, you must modify the payload to provide the expected input for your flow.</p>
<div class="ch-codeblock not-prose" data-ch-theme="github-dark"><div class="ch-code-wrapper ch-code" data-ch-measured="false"><code class="ch-code-scroll-parent"><br><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span>curl --request POST \</span></div></div><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span> --url &#x27;http://localhost:7860/api/v1/run/e4167236-938f-4aca-845b-21de3f399858?stream=true&#x27; \</span></div></div><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span> --header &#x27;Content-Type: application/json&#x27; \</span></div></div><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span> --data &#x27;{</span></div></div><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span> &quot;input_value&quot;: &quot;Tell me about Charizard.&quot;,</span></div></div><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span> &quot;output_type&quot;: &quot;chat&quot;,</span></div></div><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span> &quot;input_type&quot;: &quot;chat&quot;,</span></div></div><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span> &quot;session_id&quot;: &quot;charizard_test_request&quot;</span></div></div><div><span class="ch-code-line-number">_<!-- -->10</span><div style="display:inline-block;margin-left:16px"><span>}&#x27;</span></div></div><br></code></div></div>
<details class="details_lb9f alert alert--info details_b_Ee" data-collapsed="true"><summary>About this example</summary><div><div class="collapsibleContent_i85q"><p>This command runs the Pokédex template flow.
<details class="details_lb9f alert alert--info details_b_Ee" data-collapsed="true"><summary>About this example</summary><div><div class="collapsibleContent_i85q"><p>This command runs the <strong>Pokédex</strong> template flow.
It provides chat input about a specific Pokémon, uses an optional custom <code>session_id</code>, and enables response streaming with <code>?stream=true</code>.</p><p>The default <a href="/session-id">session ID</a> is the flow ID.
Custom session IDs can help isolate unique conversation threads to keep the LLM&#x27;s context clean, and they can help identify specific conversations in flow logs to make debugging easier.</p><p>This command uses response streaming because the Pokédex flow can return a large amount of text.
To use batching, set <code>?stream=false</code>.</p></div></div></details>