[Previous: Test Natural Language Support] [Next: Synthesize and Train with Genie]
A vital component of a task-oriented agent, like Genie, is its skill backend. Genie compiler seamlessly integrates API calls with database queries. There are three ways to implement a skill backend:
If a skill uses generic REST APIs that return JSON or RSS feeds in Atom or RSS 1.0 format, then no additional JavaScript packages need to be supported.
Check the guide on Predefined Loader for a Common Protocol for more details.
If a skill is based on a database, the skill backend only needs to return its result.
Check the guide on JavaScript Backend with a Database for more details.
If a skill makes use of custom APIs, the skill backend may include additional processing to better integrate APIs with natural language queries.
Check the guide on JavaScript Backend with custom REST APIs for more details.
You should add tests for every new device, to ensure the implementation is correct. The test framework supports devices that require no authentication or username-password style basic authentication. Check the Skill Testing Guide for more details.
[Previous: Test Natural Language Support] [Next: Synthesize and Train with Genie]