Which entity rxtractor should use? Rasa - rasa-nlu

In my training data, I want to extract the following values from user input.
phone number,location,reference_number. So which entity extractor I need to use?

I think you should go with Duckling entity extractor. It can extract numbers, locations, etc. However if you are running this you have to run it in a separately and connect it through config.yml file.
Refer Rasa components and forum for more information

Related

How to implement regex function in Microsoft bot composer

How to implement regex in Bot composer ?
Below I have a scenario where user can enter any thing like: Qna-1234, Qna-{1234} etc.
From above I want to display only 1234 in the response. How can I achieve this it will
be very helpful if provided some solution.
Yes, there is a workaround to achieve this requirement without regex. You can update the expected user responses section. You can define an entity to extract just an Id from user expressions. Refer below screenshots for details.
You can see here that adaptive expressions only have one regular expression function, and it returns a Boolean value. If you would like the Bot Framework team to create a new prebuilt function for you, you can make a feature request here: https://github.com/microsoft/botframework-sdk/issues/new/choose
In the meantime, you can create your own custom actions by following these instructions: https://learn.microsoft.com/composer/how-to-add-custom-action

Does LightGBM cli support "feature_name" config?

I'm using libsvm as the input data format, and want to know how I could pass column name to LightGBM cli.
I found that LightGBM python API support a parameter feature_name, does cli version support the same field? I cannot find it through doc.
https://lightgbm.readthedocs.io/en/latest/pythonapi/lightgbm.train.html#lightgbm.train
This question was cross-posted to the LightGBM issues board, https://github.com/microsoft/LightGBM/issues/3731 and answered there.
Yes, feature names in the CLI are supported by using the header parameter, documented at https://lightgbm.readthedocs.io/en/latest/Parameters.html#header. Add feature names as the first line in your data file and use that parameter to tell the LightGBM CLI to look in the header for feature names.

Tool for creating object representations for Entities in Dynamics

Similar to Entity Framework I would like to know if there is a tool or nuget package I can use where I can just send the Dynamics URL and credentials in order to create object models from a Dynamics System. I'm trying to avoid creating custom DTOs.
You can use CrmSvcUtil to generate strongly-typed classes for entities.
Command line:
CrmSvcUtil.exe /url:http://<serverName>/<organizationName>/XRMServices/2011/Organization.svc /out:<outputFilename>.cs /username:<username> /password:<password> /domain:<domainName> /namespace:<outputNamespace> /serviceContextName:<serviceContextName>
GUI: (by Daryl from community)
Early Bound Generator in XrmToolbox & its video tutorial + documentation
Early Bound Generator included in the XrmToolbox is the simplest. https://www.xrmtoolbox.com/
Find the right configuration then take the command line and include it in a batch file under source control. You'll have to run it each time you add fields in CRM, depending on your needs. If you lose your starting configuration, your code might not be compatible the next time you generate.

react native - validate source using digital signature with JWS, bcrypt or react-native-crypto

I am looking for a way to validate the source of a data in my React Native application.
The application receive data in JSON format and I want to validate its source.
I don't need to encrypt the data itself but I want to process only validated data otherwise I will notify the user the data is not originated from a valid source.
I am using RN version 0.45.1
EDIT
I've read that its not a good idea to use JWS, for example:
https://paragonie.com/blog/2017/03/jwt-json-web-tokens-is-bad-standard-that-everyone-should-avoid
but instead use 'react-native-bcrypt' or 'react-native-crypto', the second package is faster??
After a lot of searching I found this solution:
https://github.com/kjur/jsrsasign
this library provides ways to:
generate:
https://kjur.github.io/jsrsasign/api/symbols/KEYUTIL.html#.generateKeypair
sign and verify:https://kjur.github.io/jsrsasign/api/symbols/KJUR.crypto.Signature.html#constructor:
and many more...

How to read excel file tibco activities?

I have a requirement to read excel file using tibco palettes.Can any body please throw some lights regarding this. I am basically new to this tibco BW. Please tell me what steps should I follow?
I am assuming you are not referring to CSV files, for which you could use the File Read and Parse activities of BW.
If you want to parse or render a multi-worksheet workbook, you can try publicly available API's such as Apache's POI or commercial API's such as from Aspose to cut your own Java based solution. Then you can use the Java Code or general Java activities to embed and use that code.
And then there's another ready-to-use option available from us: an Excel Plugin for TIBCO BusinessWorks, if you wish to leverage all built-in features of BW (XPath mapping, etc) when parsing or rendering your Excel.
Edit 1:
As per your comment, you can also try the following steps, if you are looking for a more homegrown solution.
Based on one of the (public/commercial) libraries above you can write generic Java Code to parse each cell of each row of each sheet of the workbook. Output should be an XML string. Then create an XSD to match your output. It is at your discretion, which information of the cell you want to read from the workbook - you already are aware of the complexity of the API, I am sure.
Create a BW (sub)process that calls your code from a Java activity, use Parse XML to parse your XML string result into you XSD structure. Configure the End activity to use your XSD and map (copy) your Parse XML result into the End activity.
Then wrap this subprocess into a Custom Activity (General Activities Palette). Create a Custom Palette and now you can re-use what you did in many other BW projects. The path to the custom palettes can be found in TIBCO Designer - Edit- Preferences - General - User Directories
If you add Error Output schemas, you will also get typed error outputs from that custom activity.
HTH,
Hendrik

Resources