You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To integrate a Python backend with your CopilotKit application, set up your project and install the necessary dependencies by choosing your dependency management solution below.
@@ -190,15 +190,17 @@ Since we've added the entry point in `server.py`, you can run your FastAPI serve
190
190
191
191
Now that you've set up your FastAPI server with the backend actions, integrate it into your CopilotKit application by modifying your `CopilotRuntime` configuration.
192
192
193
-
<TailoredContent>
193
+
<TailoredContentid="hosting">
194
194
<TailoredContentOption
195
+
id="copilot-cloud"
195
196
title="Copilot Cloud (Recommended)"
196
197
description="I want to use Copilot Cloud to connect to my remote endpoint."
Copy file name to clipboardExpand all lines: docs/content/docs/(root)/guides/generative-ui.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import UseClientCalloutSnippet from "@/snippets/use-client-callout.mdx";
10
10
When a user interacts with your Copilot, you may want to render a custom UI component. [`useCopilotAction`](/reference/hooks/useCopilotAction) allows to give the LLM the
11
11
option to render your custom component through the `render` property.
12
12
13
-
<Tabsitems={['Render a component', 'Fetch data & render', 'renderAndWaitForResponse (HITL)', 'Render strings', 'Catch all renders']}>
13
+
<TabsgroupId="gen-ui-type"items={['Render a component', 'Fetch data & render', 'renderAndWaitForResponse (HITL)', 'Render strings', 'Catch all renders']}>
14
14
15
15
<Tabvalue="Render a component">
16
16
[`useCopilotAction`](/reference/hooks/useCopilotAction) can be used with a `render` function and without a `handler` to display information or UI elements within the chat.
0 commit comments