Skip to content

Commit 8d9da1d

Browse files
Cleared CI error
1 parent 4e1728c commit 8d9da1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MAUI/DataForm/AI-Powered-Smart-Paste-DataForm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public class FeedBackForm
124124

125125
### Step 2: Bind the model to the dataform
126126

127-
Create a viewmodel containing an instance of the model. Assign this instance to the DataObject property of the dataform so that the fields are generated automatically according to the model properties.
127+
Create a view model containing an instance of the model. Assign this instance to the DataObject property of the dataform so that the fields are generated automatically according to the model properties.
128128

129129
### Step 3: Design the UI
130130

@@ -271,7 +271,7 @@ The Smart Paste feature enables users to quickly populate form fields using unst
271271

272272
To implement this, the application first checks whether the clipboard contains any text. If valid content is found, it constructs a prompt instructing the AI to convert the text into a JSON object that aligns with the FeedBackForm model. This prompt is sent to Azure OpenAI using the service class AzureOpenAIServiceConnector, which handles the connection and communication with the AI model.
273273

274-
Once the AI returns a response, the application deserializes the JSON string into a FeedBackForm object. The deserialized values are then assigned to the model bound to the DataForm, automatically updating the form fields with the extracted values.
274+
Once the AI returns a response, the application deserialize the JSON string into a FeedBackForm object. The deserialized values are then assigned to the model bound to the DataForm, automatically updating the form fields with the extracted values.
275275

276276
```
277277
private async void OnlineSmartPasteButtonClicked(object? sender, EventArgs e)

0 commit comments

Comments
 (0)