Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 448 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 448 Bytes

Steps to run the sample

1. Configuring the Config.toml file

  1. Create a Config.toml file in the root directory and add the below content.
openAIToken = "<OPEN_AI_TOKEN>"
  1. Create a Open AI account and obtain an API key and replace with <OPEN_AI_TOKEN>.

2. Running the sample

Run the following command from the root directory of the sample.

$ bal run -- ./resources/example.txt