Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Use this file to discover all available pages before exploring further.
Updated in 4.63The Cognigy Text format (CTXT) is a file format developed by Cognigy for extracting knowledge with Knowledge AI. You can segment the text in a CTXT file into Knowledge Chunks before uploading the file as a Knowledge Source.You can edit CTXT files in text editors, such as Visual Studio Code and Notepad++. Text editors improve the visual representation of Markdown syntax and make it easier to read a CTXT file. To make CTXT easier to read, you need to configure the text editor to highlight Markdown syntax:
Visual Studio Code — Access the Change Language Mode section and select Markdown.
The file name can’t contain /, \, :, *, ?, ", <, >, |, or ¥.
Knowledge Chunk text CTXT containing unclosed HTML tags for block-level elements in the CTXT body, such as <div>, <table>, and <p>, causes the Markdown parser to include the metadata of the following Knowledge Chunk in the previous Knowledge Chunk. To avoid unintended inclusion, of metadata in the Knowledge Chunk text, ensure you close HTML tags for block-level elements or remove them from the Knowledge Chunk text.
`version: 1``title: Cognigy xApps FAQs``url: https://www.cognigy.com``tags: [cognigy, xapps, architecture]`What is Cognigy?Cognigy is a leading enterprise software provider for Conversational AI automation. Our platform, Cognigy.AI, automates customer and employee communications. Available in SaaS environments, Cognigy.AI enables enterprises to have natural language conversations with their users on any channel - webchat, SMS, voice and mobile apps - and in any language. Cognigy.AI powers intelligent voice and chatbots that communicate consistently and accurately beyond simple FAQ, resulting in reduced contact center costs and increased efficiency while improving user experiences. The worldwide client portfolio of Cognigy includes Toyota, E.ON, Lufthansa, and many more.`url: https://www.cognigy.com/`What are xApps?Cognigy xApps are infinitely flexible micro-web applications for customer self-service. xApps can be used as a stand-alone application or complementary to any channel to enhance virtual and human agents' capabilities. In multi-channel scenarios xApps close the experience gaps of existing voice and messaging channels to enable dynamic, fully connected customer engagements by helping to overcome limitations of communication channels like voice, Webchat Widget or Microsoft Teams compromising user experiences.`url: https://docs.cognigy.com/ai/xApp/overview/`What are use cases of xAppsThe use cases are endless as xApps are infinitely flexible due to the fact that they are essentially micro-web applications. Three potential use cases are listed here:- Authentication via Credentials: With xApps, you can allow users to authenticate using various methods such as email addresses, user numbers, or other identification details. Users can securely verify their identity and gain access to specific services or information.- Select a flight seat: With xApps, you can offer users an interface to choose their preferred seat for their flight. Users can view the available seats and select the seat of their choice, enhancing their travel experience.- Share location: With xApps, you can allow users to share their device's location information. This use case can be useful in various scenarios, such as providing location-based services, tracking deliveries, or finding nearby resources. `url: https://docs.cognigy.com/ai/xApp/use-cases/`How do xApps work?The behavior of xApps is controlled via a set of xApp Flow Nodes. An xApp session can be initialized via the "xApp: Init Session" Node. The xApp session can be updated with the actual xApp Pages in two ways, by providing HTML code via the "xApp: Show HTML" Node or by specifying an Adaptive Card in JSON via the "xApp: Show Adaptive Card" Node. Alternatively, for more customization, you can create your own Node to update the xApps state by implementing and uploading an Extension. To wait for the xApp user Input in a Flow, use the Question or the Optional Question Node. The xApp type of the Question Node is only considered to be answered if submitted results are available as part of the Input.`url: https://docs.cognigy.com/ai/xApp/build-an-xApp/`How is the xApps architecture designed?The xApp Shell Page loads its assets (HTML/CSS/JS) by requesting static files via HTTP/HTTPs 1.1 requests to service-static-files and establishes a WebSocket connection (via Socket.io) to serviceapp-session-manager to retrieve information about xApp sessions. This information includes an async event to initialize an xApp session, which creates a unique URL, and specifies which xApp will be displayed in a specific xApp session. The Elastic Load Balancer helps distribute incoming traffic, while Traefik dynamically routes traffic to backend servers based on specific requirements. The serviceapp-session-manager updates the xApp session state in the App Session DB, and the WebSocket transfers data to the Shell page, which loads xApps and provides data to the SDK.`url: https://docs.cognigy.com/ai/xApp/architecture/``image: https://docs.cognigy.com/ai/images/xApp/architecture.png`
The header of a CTXT file contains the Source metadata at the top of the CTXT file. In CTXT files, you must format Source metadata as key-value pairs wrapped by backticks. The keys refer to the information the Source metadata holds, and the value is the information. For example, in title: Cognigy xApps FAQs, title is the key and Cognigy xApps FAQs is the value.
What are use cases of xApps?The use cases are endless as xApps are infinitely flexible due to the fact that they are essentially micro-web applications. Three potential use cases are listed here:- Authentication via Credentials: With xApps, you can allow users to authenticate using various methods such as email addresses, user numbers, or other identification details. Users can securely verify their identity and gain access to specific services or information.- Select a flight seat: With xApps, you can offer users an interface to choose their preferred seat for their flight. Users can view the available seats and select the seat of their choice, enhancing their travel experience.- Share location: With xApps, you can allow users to share their device's location information. This use case can be useful in various scenarios, such as providing location-based services, tracking deliveries, or finding nearby resources.`url: https://docs.cognigy.com/ai/xApp/use-cases/`
Example 2:
How is the xApps architecture designed?The xApp Shell Page loads its assets (HTML/CSS/JS) by requesting static files via HTTP/HTTPs 1.1 requests to service-static-files and establishes a WebSocket connection (via Socket.io) to serviceapp-session-manager to retrieve information about xApp sessions. This information includes an async event to initialize an xApp session, which creates a unique URL, and specifies which xApp will be displayed in a specific xApp session. The Elastic Load Balancer helps distribute incoming traffic, while Traefik dynamically routes traffic to backend servers based on specific requirements. The serviceapp-session-manager updates the xApp session state in the App Session DB, and the WebSocket transfers data to the Shell page, which loads xApps and provides data to the SDK.`url: https://docs.cognigy.com/ai/xApp/architecture/``image: https://docs.cognigy.com/ai/images/xApp/architecture.png`