Back to blog
Articles
Tutorials
November 30, 2020
·
2 MIN READ

Syncing Dialogflow with HumanFirst

November 30, 2020
|
2 MIN READ

Latest content

Tutorials
5 min read

Optimizing RAG with Knowledge Base Maintenance

How to find gaps between knowledge base content and real user questions.
April 23, 2024
Tutorials
4 min read

Scaling Quality Assurance with HumanFirst and Google Cloud

How to use HumanFirst with Vertex AI to test, improve, and trust agent performance.
March 14, 2024
Announcements
2 min read

Full Circle: HumanFirst Welcomes Maeghan Smulders as COO

Personal and professional history might not repeat, but it certainly rhymes. I’m thrilled to join the team at HumanFirst, and reconnect with a team of founders I not only trust, but deeply admire.
February 13, 2024
Tutorials
4 min read

Accelerating Data Analysis with HumanFirst and Google Cloud

How to use HumanFirst with CCAI-generated data to accelerate data analysis.
January 24, 2024
Tutorials
4 min read

Exploring Contact Center Data with HumanFirst and Google Cloud

How to use HumanFirst with CCAI-generated data to streamline topic modeling.
January 11, 2024
Articles
5 min

Building In Alignment: The Role of Observability in LLM-Led Conversational Design

Building In Alignment: The Role of Observability in LLM-Led Conversational Design
December 6, 2023
Articles
5 min read

Rivet Is An Open-Source Visual AI Programming Environment

Rivet is suited for building complex agents with LLM Prompts, and it was Open Sourced recently.
September 27, 2023
Articles
6 min read

What Is The Future Of Prompt Engineering?

The skill of Prompt Engineering has been touted as the ultimate skill of the future. But, will prompt engineering be around in the near future? In this article I attempt to decompose how the future LLM interface might look like…considering it will be conversational.
September 26, 2023
Articles
4 min read

LLM Drift

A recent study coined the term LLM Drift. LLM Drift is definite changes in LLM responses and behaviour, over a relatively short period of time.
September 25, 2023
Tutorials
5 min read

Optimizing RAG with Knowledge Base Maintenance

How to find gaps between knowledge base content and real user questions.
April 23, 2024
Tutorials
4 min read

Scaling Quality Assurance with HumanFirst and Google Cloud

How to use HumanFirst with Vertex AI to test, improve, and trust agent performance.
March 14, 2024
Announcements
2 min read

Full Circle: HumanFirst Welcomes Maeghan Smulders as COO

Personal and professional history might not repeat, but it certainly rhymes. I’m thrilled to join the team at HumanFirst, and reconnect with a team of founders I not only trust, but deeply admire.
February 13, 2024

Let your data drive.

Tutorials

Syncing Dialogflow with HumanFirst

ALEX DUBOIS
November 30, 2020
.
2 MIN READ

How to import an existing Dialogflow agent to HumanFirst using our command line integration.

Note: DialogFlow integration is currently in beta — please make sure to backup your project just in case!

HumanFirst supports importing Dialogflow ES agents into a workspace very easily. Dialogflow CX isn’t supported at the moment (see a comparison of the editions here). If you are interested in Dialogflow CX support, come give us a shout on our Slack community.

Let’s quickly explore how to import Dialogflow ES agents into HumanFirst!

Importing a Dialogflow agent

  1. In Dialogflow ES, go to the `Export and Import` section of your agent’s settings, then export your agent to a zip file.
  2. Unzip the downloaded file.
  3. Open a terminal to the directory in which the agent was unzipped. This directory should contain a file named agent.json .
  4. Import the agent in a workspace by running: hf dialogflow import — workspace [workspace id] — clear

Example:

5. You may now open the workspace in your browser.

Please note: we don’t provide any entity management features in the UX today, so you won’t see your entities in Studio; however they are kept as part of the data, and re-exported with your intent data.

Exporting a Workspace

Hint: You can track changes that have been done in HumanFirst by initializing a git repository in the directory of your unzipped agent and then committing the initial files originating from Dialogflow. By doing this, you will be able to easily compare the changes by using git diff.
  1. Open a terminal to the directory in which an exported Dialogflow agent has been unzipped. This directory should contain a file named agent.json.
  2. Export a HumanFirst workspace into the directory by running: hf dialogflow export — workspace [workspace id]

Example:

  1. Zip the agent directory: zip -r agent.zip .
  2. In Dialogflow ES, go to the `Export and Import` section of your agent’s settings, click on `Import from zip`, select the just-created agent.zip file and click on import.

Advanced usage

  • As previously mentioned, it is possible to mimic the follow-up intents hierarchy when importing the agent into HumanFirst. This will allow you to see the follow-up structure. Since HumanFirst doesn’t support follow-up intents yet, keep in mind that the follow-up structure may not be accurate when importing it back into Dialogflow. Use the--followup-hierarchy option at both the import and export to enable this option

Subscribe to HumanFirst Blog

Get the latest posts delivered right to your inbox