Comparing version 0.7.2 to 0.7.3
{ | ||
"name": "iudex", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "Iudex client", | ||
"scripts": { | ||
"build": "tsup", | ||
"test": "jest" | ||
}, | ||
"main": "./dist/index.js", | ||
@@ -40,8 +44,4 @@ "module": "./dist/index.mjs", | ||
"p-retry": "^6.2.0", | ||
"zod": "^3.22.4" | ||
}, | ||
"scripts": { | ||
"build": "tsup", | ||
"test": "jest" | ||
"zod": "^3.21.4" | ||
} | ||
} | ||
} |
@@ -23,6 +23,11 @@ # Iudex client | ||
1. Sign up at [iudex.ai](https://iudex.ai) or shoot a message at support@iudex.ai to get an API key. | ||
2. Install either the Node or Python client into your project. For Node, use `npm install iudex`. | ||
3. Store the API key as an environment variable e.g. `IUDEX_API_KEY`. | ||
4. Upload your function specs as function JSON schema. | ||
5. Send a message to Iudex. | ||
6. Get a computed result back. | ||
@@ -37,5 +42,5 @@ | ||
3. Automatically extracting data for dashboard generation. | ||
3. Generating dashboards from events databases. | ||
4. Adding rules to data extraction. | ||
4. Adding rules based evaluation to extracted data. | ||
@@ -56,2 +61,3 @@ | ||
import dotenv from 'dotenv'; | ||
dotenv.config(); | ||
import { Iudex } from 'iudex'; | ||
@@ -95,7 +101,7 @@ | ||
/* 3. Create a way to reference functions using strings */ | ||
function functionLinker(fnName: string) { | ||
iudex.linkFunctions((fnName: string) => { | ||
return { | ||
getCurrentWeather, | ||
}[fnName]; | ||
}; | ||
}); | ||
@@ -102,0 +108,0 @@ /* 4. Send a message to Iudex */ |
250
8
71029
8
754
Updatedzod@^3.21.4