Skip to content

Commit 5fac56c

Browse files
committed
fix(ExampleAssistantV1): Added missing param names
1 parent 2eab8e7 commit 5fac56c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Examples/ExampleAssistantV1.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private IEnumerator Examples()
211211
while (!createExampleTested)
212212
yield return null;
213213
// Get Example
214-
service.GetExample(callback: OnGetExample, workspaceId: createdWorkspaceId, intent: updatedIntent, createdExample);
214+
service.GetExample(callback: OnGetExample, workspaceId: createdWorkspaceId, intent: updatedIntent, text: createdExample);
215215
while (!getExampleTested)
216216
yield return null;
217217
// Update Examples
@@ -229,7 +229,7 @@ private IEnumerator Examples()
229229
while (!createEntityTested)
230230
yield return null;
231231
// Get Entity
232-
service.GetEntity(callback: OnGetEntity, workspaceId: createdWorkspaceId, createdEntity);
232+
service.GetEntity(callback: OnGetEntity, workspaceId: createdWorkspaceId, entity: createdEntity);
233233
while (!getEntityTested)
234234
yield return null;
235235
// Update Entities
@@ -305,7 +305,7 @@ private IEnumerator Examples()
305305
yield return null;
306306
// List All Logs
307307
var filter = "(language::en,request.context.metadata.deployment::deployment_1)";
308-
service.ListAllLogs(callback: OnListAllLogs, filter);
308+
service.ListAllLogs(callback: OnListAllLogs, filter: filter);
309309
while (!listAllLogsTested)
310310
yield return null;
311311

@@ -318,7 +318,7 @@ private IEnumerator Examples()
318318
while (!createCounterexampleTested)
319319
yield return null;
320320
// Get Counterexample
321-
service.GetCounterexample(callback: OnGetCounterexample, workspaceId: createdWorkspaceId, createdCounterExampleText);
321+
service.GetCounterexample(callback: OnGetCounterexample, workspaceId: createdWorkspaceId, text: createdCounterExampleText);
322322
while (!getCounterexampleTested)
323323
yield return null;
324324
// Update Counterexamples
@@ -328,15 +328,15 @@ private IEnumerator Examples()
328328
yield return null;
329329

330330
// Delete Counterexample
331-
service.DeleteCounterexample(callback: OnDeleteCounterexample, workspaceId: createdWorkspaceId, updatedCounterExampleText);
331+
service.DeleteCounterexample(callback: OnDeleteCounterexample, workspaceId: createdWorkspaceId, text: updatedCounterExampleText);
332332
while (!deleteCounterexampleTested)
333333
yield return null;
334334
// Delete Dialog Node
335-
service.DeleteDialogNode(callback: OnDeleteDialogNode, workspaceId: createdWorkspaceId, updatedDialogNodeName);
335+
service.DeleteDialogNode(callback: OnDeleteDialogNode, workspaceId: createdWorkspaceId, dialogNode: updatedDialogNodeName);
336336
while (!deleteDialogNodeTested)
337337
yield return null;
338338
// Delete Synonym
339-
service.DeleteSynonym(callback: OnDeleteSynonym, workspaceId: createdWorkspaceId, entity: updatedEntity, value: updatedValue, updatedSynonym);
339+
service.DeleteSynonym(callback: OnDeleteSynonym, workspaceId: createdWorkspaceId, entity: updatedEntity, value: updatedValue, synonym: updatedSynonym);
340340
while (!deleteSynonymTested)
341341
yield return null;
342342
// Delete Value
@@ -348,7 +348,7 @@ private IEnumerator Examples()
348348
while (!deleteEntityTested)
349349
yield return null;
350350
// Delete Example
351-
service.DeleteExample(callback: OnDeleteExample, workspaceId: createdWorkspaceId, intent: updatedIntent, updatedExample);
351+
service.DeleteExample(callback: OnDeleteExample, workspaceId: createdWorkspaceId, intent: updatedIntent, text: updatedExample);
352352
while (!deleteExampleTested)
353353
yield return null;
354354
// Delete Intent
@@ -665,7 +665,7 @@ private void OnListWorkspaces(DetailedResponse<WorkspaceCollection> response, IB
665665
foreach (Workspace workspace in response.Result.Workspaces)
666666
{
667667
if (workspace.Name.Contains("unity"))
668-
service.DeleteWorkspace(callback: OnDeleteWorkspace, workspace.WorkspaceId);
668+
service.DeleteWorkspace(callback: OnDeleteWorkspace, workspaceId: workspace.WorkspaceId);
669669
}
670670

671671
listWorkspacesTested = true;

0 commit comments

Comments
 (0)