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
@@ -201,12 +207,19 @@ export class TexeraCopilot {
201
207
model: this.model,
202
208
messages: this.messages,// full history
203
209
tools,
210
+
abortSignal: this.currentAbortController.signal,
204
211
system:
205
212
"You are Texera Copilot, an AI assistant for building and modifying data workflows. "+
206
213
"Your task is helping user explore the data using operators. "+
207
214
"Common operators would be Limit to limit the size of data; "+
208
215
"Aggregate to do some aggregation; and some visualization operator. "+
209
-
"A good generation style is adding an operator, configuring its property and then executing it to make sure each editing is valid. Generate 3-5 operators is enough for every round of generation",
216
+
"A good generation style is, "+
217
+
"1. listing what operators are available"+
218
+
"2. add the operator"+
219
+
"3. retrieve the OperatorSchema"+
220
+
"4. Configuring its property based on the schema"+
221
+
"5. executing it to make sure each editing is valid. "+
222
+
"Generate 3-5 operators is enough for every round of generation",
0 commit comments