File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export default {
2828 type : "separator" ,
2929 title : "Guides" ,
3030 } ,
31+
3132 "connect-to-your-data" : {
3233 title : "Connect your data" ,
3334 } ,
@@ -40,6 +41,9 @@ export default {
4041 "generative-ui" : {
4142 title : "Generative UI (in-chat custom UI)" ,
4243 } ,
44+ "customize-ai-behavior" : {
45+ title : "Customize AI behavior" ,
46+ } ,
4347 "copilot-suggestions" : {
4448 title : "Copilot Suggestions" ,
4549 } ,
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import { CopilotChat } from "@copilotkit/react-ui";
2727import " @copilotkit/react-ui/styles.css" ;
2828
2929<CopilotChat
30+ instructions = { " You are assisting the user as best as you can. Ansewr in the best way possible given the data you have." }
3031 labels = { {
3132 title: " Your Assistant" ,
3233 initial: " Hi! 👋 How can I assist you today?" ,
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import { CopilotPopup } from "@copilotkit/react-ui";
2828import " @copilotkit/react-ui/styles.css" ;
2929
3030<CopilotPopup
31+ instructions = { " You are assisting the user as best as you can. Ansewr in the best way possible given the data you have." }
3132 labels = { {
3233 title: " Your Assistant" ,
3334 initial: " Hi! 👋 How can I assist you today?" ,
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import "@copilotkit/react-ui/styles.css";
2929
3030<CopilotSidebar
3131 labels = { {
32+ instructions = {" You are assisting the user as best as you can. Ansewr in the best way possible given the data you have." }
3233 title: " Your Assistant" ,
3334 initial: " Hi! 👋 How can I assist you today?" ,
3435 }}
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import "@copilotkit/react-ui/styles.css";
2828 <>
2929 <YourMainContent />
3030 <CopilotPopup
31+ instructions = { " You are assisting the user as best as you can. Ansewr in the best way possible given the data you have." }
3132 labels = { {
3233 title: " Popup Assistant" ,
3334 initial: " Need any help?" ,
@@ -51,6 +52,7 @@ import "@copilotkit/react-ui/styles.css";
5152 return (
5253 <CopilotSidebar
5354 defaultOpen = { true }
55+ instructions = { " You are assisting the user as best as you can. Ansewr in the best way possible given the data you have." }
5456 labels = { {
5557 title: " Sidebar Assistant" ,
5658 initial: " How can I help you today?" ,
@@ -77,6 +79,7 @@ import "@copilotkit/react-ui/styles.css";
7779 export function YourComponent() {
7880 return (
7981 <CopilotChat
82+ instructions = { " You are assisting the user as best as you can. Ansewr in the best way possible given the data you have." }
8083 labels = { {
8184 title: " Your Assistant" ,
8285 initial: " Hi! 👋 How can I assist you today?" ,
You can’t perform that action at this time.
0 commit comments