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
Copy file name to clipboardExpand all lines: app/MindWork AI Studio/Pages/About.razor
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,7 @@
113
113
<ThirdPartyComponentName="file-format"Developer="Mickaël Malécot & Open Source Community"LicenseName="MIT"LicenseUrl="https://github.com/mmalecot/file-format/blob/main/LICENSE-MIT"RepositoryUrl="https://github.com/mmalecot/file-format"UseCase="This library is used to determine the file type of a file. This is necessary, e.g., when we want to stream a file."/>
114
114
<ThirdPartyComponentName="calamine"Developer="Johann Tuffe, Joel Natividad, Eric Jolibois, Dmitriy & Open Source Community"LicenseName="MIT"LicenseUrl="https://github.com/tafia/calamine/blob/master/LICENSE-MIT.md"RepositoryUrl="https://github.com/tafia/calamine"UseCase="This library is used to read Excel and OpenDocument spreadsheet files. This is necessary, e.g., for using spreadsheets as a data source for a chat."/>
115
115
<ThirdPartyComponentName="pdfium-render"Developer="Alastair Carey, Dorian Rudolph & Open Source Community"LicenseName="MIT"LicenseUrl="https://github.com/ajrcarey/pdfium-render/blob/master/LICENSE.md"RepositoryUrl="https://github.com/ajrcarey/pdfium-render"UseCase="This library is used to read PDF files. This is necessary, e.g., for using PDFs as a data source for a chat."/>
116
+
<ThirdPartyComponentName="sys-locale"Developer="1Password Team, ComplexSpaces & Open Source Community"LicenseName="MIT"LicenseUrl="https://github.com/1Password/sys-locale/blob/main/LICENSE-MIT"RepositoryUrl="https://github.com/1Password/sys-locale"UseCase="This library is used to determine the language of the operating system. This is necessary to set the language of the user interface."/>
116
117
<ThirdPartyComponentName="Lua-CSharp"Developer="Yusuke Nakada & Open Source Community"LicenseName="MIT"LicenseUrl="https://github.com/nuskey8/Lua-CSharp/blob/main/LICENSE"RepositoryUrl="https://github.com/nuskey8/Lua-CSharp"UseCase="We use Lua as the language for plugins. Lua-CSharp lets Lua scripts communicate with AI Studio and vice versa. Thank you, Yusuke Nakada, for this great library." />
117
118
<ThirdPartyComponentName="HtmlAgilityPack"Developer="ZZZ Projects & Open Source Community"LicenseName="MIT"LicenseUrl="https://github.com/zzzprojects/html-agility-pack/blob/master/LICENSE"RepositoryUrl="https://github.com/zzzprojects/html-agility-pack"UseCase="We use the HtmlAgilityPack to extract content from the web. This is necessary, e.g., when you provide a URL as input for an assistant."/>
118
119
<ThirdPartyComponentName="ReverseMarkdown"Developer="Babu Annamalai & Open Source Community"LicenseName="MIT"LicenseUrl="https://github.com/mysticmind/reversemarkdown-net/blob/master/LICENSE"RepositoryUrl="https://github.com/mysticmind/reversemarkdown-net"UseCase="This library is used to convert HTML to Markdown. This is necessary, e.g., when you provide a URL as input for an assistant."/>
Collapse file: app/MindWork AI Studio/Plugins/languages/de-de-43065dbc-78d0-45b7-92be-f14c2926e2dc/plugin.lua
message="The field IETF_TAG does not exist or is not a valid string.";
84
+
readLangCultureTag=string.Empty;
85
+
returnfalse;
86
+
}
87
+
88
+
if(string.IsNullOrWhiteSpace(readLangCultureTag))
89
+
{
90
+
message="The field IETF_TAG is empty. Use a valid IETF tag like 'en-US'. The first part is the language, the second part is the country code.";
91
+
readLangCultureTag=string.Empty;
92
+
returnfalse;
93
+
}
94
+
95
+
if(readLangCultureTag.Length!=5)
96
+
{
97
+
message="The field IETF_TAG is not a valid IETF tag. Use a valid IETF tag like 'en-US'. The first part is the language, the second part is the country code.";
98
+
readLangCultureTag=string.Empty;
99
+
returnfalse;
100
+
}
101
+
102
+
if(readLangCultureTag[2]!='-')
103
+
{
104
+
message="The field IETF_TAG is not a valid IETF tag. Use a valid IETF tag like 'en-US'. The first part is the language, the second part is the country code.";
105
+
readLangCultureTag=string.Empty;
106
+
returnfalse;
107
+
}
108
+
109
+
// Check the first part consists of only lower case letters:
110
+
for(vari=0;i<2;i++)
111
+
if(!char.IsLower(readLangCultureTag[i]))
112
+
{
113
+
message="The field IETF_TAG is not a valid IETF tag. Use a valid IETF tag like 'en-US'. The first part is the language, the second part is the country code.";
114
+
readLangCultureTag=string.Empty;
115
+
returnfalse;
116
+
}
117
+
118
+
// Check the second part consists of only upper case letters:
119
+
for(vari=3;i<5;i++)
120
+
if(!char.IsUpper(readLangCultureTag[i]))
121
+
{
122
+
message="The field IETF_TAG is not a valid IETF tag. Use a valid IETF tag like 'en-US'. The first part is the language, the second part is the country code.";
123
+
readLangCultureTag=string.Empty;
124
+
returnfalse;
125
+
}
126
+
127
+
message=string.Empty;
128
+
returntrue;
129
+
}
68
130
}
Collapse file: app/MindWork AI Studio/Tools/Services/RustService.OS.cs
0 commit comments