This repository is a simple typescript project that can help you get started writing arbitrary data to Faros AI!
-
Clone the repository
-
Make any changes that you would like to the models that will be uploaded to Faros AI
-
Build the project
npm i
-
Export the necessary environment variables or set them manually in the code
# required $ export FAROS_API_KEY='<key>' # optional (default shown) $ export FAROS_API_URL='<url>' # https://prod.api.faros.ai $ export FAROS_GRAPH='<graph>' # default $ export FAROS_ORIGIN='<origin>' # faros-writer
-
Run the project
npm run debug
The command above will print the mutations it would write to the console. When you are ready to send the data to Faros AI execute:
npm run send