Skip to content

Latest commit

 

History

History
38 lines (18 loc) · 1.93 KB

README.md

File metadata and controls

38 lines (18 loc) · 1.93 KB

Template: Python - Actions

This template gets you started in creating Actions for Sema4.ai Action Server.

Actions and Action Server enable you to "give your AI Agents hands" meaning that your AI/LLM Agent can help your users perform distinct actions that get executed based on the LLM discussion.

Quickstart

👉 Follow the Action Server Quickstart guide in the main repository.

Dependency management

Dependencies need to be added to package.yaml.

👉 package.yaml documentation in the main repository.

Actions in VS Code

👉 Using Robocorp Code extension for VS Code, you can get everything set up and running in VS Code in no time.

The template has a few files that enable the extension to find and set up your action environment and provide code completion. There is also a side panel where we have and will add some easy-to-use functionalities.

When debugging your Actions Python code, you probably do not want to give the inputs every time you run and always be running the Action Server. Robocorp Code integration allows you to run and debug actions from within VSCode, enabling custom input to be specified as .json files.

What does the template Action do?

The template is a simple starting point to show how to get started.

The action enables you to get the timezone differences between locations.

We use pytz as an example to show that you can leverage the whole Python ecosystem. Sema4.ai provides a bunch of libraries; you can make your own. The sky is the limit.

🚀 Now, go get'em