Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.27 KB

custom-code-execution.md

File metadata and controls

15 lines (10 loc) · 1.27 KB

Custom Code Execution

When used together with custom "serverless" function runtimes (cloud-based such as AWS Lambda, Azure Functions, Google Cloud Functions), or on-premise with FnProject, OpenFaas or OpenWhisk), the CSML interpreter is able to automatically handle the execution of any payload, any code, in any language.

With CSML Functions, you can integrate your own business logic, on your own servers, in your language of choice. When using the CSML Studio, the heavy setup is already done for you, which means that you can import functions in java, python, nodejs, go... without any additional setup, simply by uploading your code and calling the function in your CSML script.

CSML Studio also comes with many ready-to-use integrations that are installable in one-click.

findweather:
  say "Let me query the weather in {{location}} for you..."
  use Fn("weatherchannel", location = location) as weather
  say "It will be {{weather.temperature}}°C tomorrow."