Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ai-driven

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai-driven - npm Package Compare versions

Comparing version 5.0.3 to 5.0.4

2

package.json
{
"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`.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc