Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Readme
Convert Dialogflow agents to Rasa format easily. Supports Rasa 3+.
For a detailed architecture flow, see the Conversion Process Diagram.
Install dialog2rasa
with:
pip install dialog2rasa
For more details, visit PyPI.
Export your Dialogflow agent (details here), unzip it, and then, convert it to Rasa format with:
dialog2rasa -p path/to/extracted/dialogflow/export -l language_code -v
-p PATH
: Path to the Dialogflow export’s extracted folder.-l LANGUAGE
(optional): Language code (e.g., 'en' for English), defaults to 'de' (German).-v VERBOSE
(optional): Increase output verbosity for debugging purposes, defaults to 'False'.The conversion output is saved in /output/[LANGUAGE_CODE]
within the Dialogflow agent’s directory, with [LANGUAGE_CODE]
being the actual language code used.
For detailed insights into how the output data is structured, visit our documentation here.
Converts intents, entities, and utterances to Rasa YAML.
Compound Entity Conversion: Generates __compound_
prefixed pseudo-YAML for Rasa's unsupported compound entities, allowing for custom handling by the user.
Entity Conversion Strategy: Our approach involves two distinct methods based on the number of synonyms associated with each reference value.
This approach comes from what we've seen work in practice, showing that Rasa tends to do a better job of capturing entities this way. However, we're completely open to the idea that there may be other, possibly better ways to do this in certain cases. If you have any ideas or suggestions on how to tweak or improve this part, we'd love to hear them!
Note: See the Output File Format here to understand these limitations.
Your feedback and contributions are appreciated to enhance this tool. Report bugs or suggest features via issues or pull requests.
The package includes automated tests that are run in two Continuous Integration workflows:
Please contribute by writing tests with pytest
for your code changes to maintain functionality and reliability.
Licensed under the Apache 2.0 License.
FAQs
Dialogflow to Rasa > 3.0 agent converter.
We found that dialog2rasa demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.