ai-openai 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -16,7 +16,7 @@ Simplifies calling AI models for chat responses, learning advice, and more.
16
16
  ## Setup
17
17
 
18
18
  1. Get your free HuggingFace token at https://huggingface.co/settings/tokens
19
- 2. Input your HuggingFace token in the HUGGINGFACE variable.
19
+ 2. Create a .env file for your project and create a variable named HUGGINGFACE and place your token as the value. Ex. HUGGINGFACE=hf_whatever_your_token_is
20
20
  3. Then run your project.
21
21
 
22
22
  ## Usage
@@ -32,7 +32,7 @@ require("dotenv").config();
32
32
  console.error(err);
33
33
  }
34
34
  })();
35
-
35
+ ```
36
36
  ## Installation
37
37
 
38
38
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-openai",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Unofficial helper for OpenAI-like models via HuggingFace",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -15,6 +15,7 @@
15
15
  "author": "Joltz",
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
+ "ai-openai": "^1.0.5",
18
19
  "axios": "^1.5.0",
19
20
  "dotenv": "^16.3.1"
20
21
  }