Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A nofari/luis sdk #11596

Merged
merged 24 commits into from
Apr 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b56fff6
adding LuisApp import/ export lu format, adding LuisApp import v2 app…
nourhanFarid Apr 2, 2020
017bc60
fixing import tests
nourhanFarid Apr 2, 2020
783cded
fixing export return type from void to string
nourhanFarid Apr 3, 2020
d32848a
adding query parameter export extensoin in app version exporting
nourhanFarid Apr 3, 2020
0585a25
fixing in query parameters for export app to have a const value "lu"
nourhanFarid Apr 5, 2020
50257e5
fising export retun type to file
nourhanFarid Apr 5, 2020
24ffb7f
fixing export return type to file
nourhanFarid Apr 5, 2020
f38f967
Adding tests for import app/appVersion lu format, export appVersion l…
nourhanFarid Apr 5, 2020
d5d7ec6
reverting auth key
nourhanFarid Apr 5, 2020
f473e5f
reverting changes made to global app id
nourhanFarid Apr 5, 2020
f51c7e4
adding missing sessions
nourhanFarid Apr 5, 2020
bffd7c8
changing from lu extension to .txt extension
nourhanFarid Apr 5, 2020
37a00fc
reverting email
nourhanFarid Apr 5, 2020
7c28cb7
changing input file extension
nourhanFarid Apr 5, 2020
29e5b05
bumping version
nourhanFarid Apr 7, 2020
93e4708
reverse undesired changes for property group
nourhanFarid Apr 7, 2020
4d845d8
removing not needed urls
nourhanFarid Apr 8, 2020
f74cc9a
removing email and updating test
nourhanFarid Apr 8, 2020
07aa833
updating tests
nourhanFarid Apr 8, 2020
52259bc
changes in eror return response
nourhanFarid Apr 8, 2020
aab7751
fixing input spelling
nourhanFarid Apr 9, 2020
4a4b534
adding CHANEGLOG.md file
nourhanFarid Apr 25, 2020
0f4e2fa
Merge branch 'master' into a-nofari/LuisSdk
nourhanFarid Apr 25, 2020
c57d678
fixing test
nourhanFarid Apr 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions sdk/cognitiveservices/Language.LUIS.Authoring/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Release History

## 3.2.0-preview.2 (Unreleased)
### Added
- Adding Luis App import and export in .lu format
- Adding Luis App import v2 app that enables to import an app that has entities with children of type "String"

### Fixed
- Issue where AzureAccount Api are not able to be authenticated ([#8023](https://github.com/Azure/azure-sdk-for-net/issues/8023))

## 3.2.0-preview.1 (2019-10-30)

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace LUIS.Authoring.Tests.Luis
{
using System.IO;
using System.Text;
using Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring;
using Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models;
using Newtonsoft.Json;
Expand Down Expand Up @@ -52,6 +53,12 @@ public void ExportAppVersionLuFormat()

await client.Apps.DeleteAsync(appId);

var buffer = new byte[app.Length];

app.Read(buffer, 0, (int)app.Length);

var f = Encoding.UTF8.GetString(buffer);
//LocalEncoding.GetString(stream.ToArray());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this?

Assert.NotNull(app);
});
}
Expand Down Expand Up @@ -176,7 +183,7 @@ public void ImportAppLuFormat()

UseClientFor(async client =>
{
var testAppId = await client.Apps.ImportLuFromatAsync(appText, "Test Import LUIS App Lu format");
var testAppId = await client.Apps.ImportLuFormatAsync(appText, "Test Import LUIS App Lu format");
var testApp = await client.Apps.GetAsync(testAppId);
await client.Apps.DeleteAsync(testAppId);

Expand Down