Pigeon Agents Development Agents Library - DatasmithSA/Pigeon-Voice-Training GitHub Wiki
The Pigeon Voice Agent development starts with creating an agent library in Microsoft Visual Studio. The tutorial assumes that you are using Visual Studio 2017. The development process in other versions of Visual Studio will be almost identical.
-
Start Visual Studio 2017.
-
Create a new Class Library (.NET Framework) project and solution:
- Click, File -> New Project and select the Class Library (.NET Framework) project type.
- Name the project and solution: Pigeon.Voice.DemoAgentLibrary
- Ensure that you select the * .NET Framework 4.5 as the target framework.
/images/agent-development/Pigeon-Agent-Development-Solution.png
-
Add References:
- Assuming the Pigeon Voice Server was installed in the default location, you should find the Pigeon Voice SDK and Figlut Server Toolkit assemblies in the following installation directory: C:\Program Files (x86)\Datasmith\Pigeon Voice Server. /images/agent-development/Pigeon-Agent-SDK-Directory.png
- Add references to the following assemblies in your Visual Studio class library project:
- Pigeon.Voice.SDK.dll
- Figlut.Server.Toolkit45.dll /images/agent-development/Pigeon-Agent-References.png
-
Agent Namespaces: The TCP/IP and HTTP agents will need to be separated into different namespaces. Create two folders within the project structure:
- HTTP: will hold all the Web Agents.
- TCP_IP: will hold all the LUT and ODR Agents. /images/agent-development/Pigeon-Agent-Project-Structure.png