# node-red-contrib-aiware

The node-red-contrib-aiware nodes provide node red users with easy ways to use AI and chain AI models together all from node-red. 

Read more at https://veritone.com

# Agent node is blocked on llm-gateway becoming a service. Documentation on full integration:
https://veritone.atlassian.net/wiki/spaces/APT/pages/4274552844/Automate+Agent+and+LLM+Gateway 

### Testing a node module locally

To test a node module locally, the `npm link` command can be used. This allows you to develop the node in a local directory and have it linked into a local node-red install, as if it had been npm installed.

1. In the module folder, run: `npm link` to create a global symlink.
2. In the `node-red-v3` directory, typically `node-red/nr` run: `npm link @veritone/node-red-contrib-aiware` to put the link locally.

Document on `npm link` can be found at https://docs.npmjs.com/cli/v7/commands/npm-link

### Publish
- Increase the version in `package.json`
- Execute `NPM_TOKEN=<token> npm publish`
- Finally, in the node-red repo, update the `docker/studio/Dockerfile` with the new version
 
