Comparing version 5.0.3 to 5.0.4
{ | ||
"name": "ai-driven", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Dimitry Ivanov <2@ivanoff.org.ua> # curl -A cv ivanoff.org.ua", |
@@ -5,2 +5,16 @@ ![ai-driven](./assets/logo.png) | ||
## Example | ||
```typescript | ||
import { Assistant } from 'ai-driven'; | ||
const assistant = new Assistant({ apiVendor: 'OpenAI', apiKey: 'your_api_key_here' }); | ||
const translatedText = await assistant.translateText('Hello, world!', 'it'); | ||
console.log(translatedText); // => Ciao, mondo! | ||
``` | ||
You can find more usage examples [here](./example.ts) | ||
- [Example](#example) | ||
@@ -32,3 +46,3 @@ - [Capabilities](#capabilities) | ||
- [Parameters](#parameters) | ||
- [`askOptionsType` Interface](#askoptionstype-interface) | ||
- [askOptionsType Interface](#askoptionstype-interface) | ||
- [Roles](#roles) | ||
@@ -44,16 +58,2 @@ - [Tasks](#tasks) | ||
## Example | ||
```typescript | ||
import { Assistant } from 'ai-driven'; | ||
const assistant = new Assistant({ apiVendor: 'OpenAI', apiKey: 'your_api_key_here' }); | ||
const translatedText = await assistant.translateText('Hello, world!', 'it'); | ||
console.log(translatedText); // => Ciao, mondo! | ||
``` | ||
You can find more usage examples [here](./example.ts) | ||
## Capabilities | ||
@@ -452,3 +452,3 @@ | ||
#### `askOptionsType` Interface | ||
#### askOptionsType Interface | ||
@@ -455,0 +455,0 @@ - `answerOnly` (boolean): Return only the answer. Default is `true`. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99648