Skip to content

Cognigy/Transformers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This repository contains multiple Transformer examples that shows how to work with Transformers. The repository contains the following examples:

Contents

Overview

This repository contains the source code of existing Transformer functions which can be used as blueprints for further developments. Therefore, all of them are provided under the MIT license.

You are free to add a new Transformers by creating a feature branch or suggest changes on already published modules.

Approval Process

If you want us to approve your code, please note the following approval process:

  1. Add a README.md to your transformer and describe it in detail.
  2. Check your code for hardcoded passwords, tokens or outdated JavaScript/TypeScript usage (e.g. var foo;).
  3. Create a new Pull Request for your Transformer function feature branch.
  4. Send all information and data, which are required to use the code, to the following E-Mail address:
    • support at cognigy.com

Important:
Please note, that Cogngiy does not provide enterprise support for developed Transformers. This repository is licensed under MIT, in which the community is responsible for the shared functions. If you found a bug or want to improve yet developed functionalities, please don't hesitate to create a branch.

Create a new Transformer or fix a bug

In order to create a new Transformer, please create a new feature branch:

  • git checkout -b feature/<your-feature>

If you want to fix an existing one, please create a bug branch:

  • git checkout -b bug/<module-name>

Every Transformer example contains a transformer.ts file, whose contents can simply be copied into the Transformer Function of the specified Endpoint. Every Transformer also contains its own README.MD file with more details about the specific example.