@node-llm/core 0.2.0 → 0.2.2
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.
- package/README.md +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -112,16 +112,16 @@ Check the [examples](./examples) directory for focused scripts organized by prov
|
|
|
112
112
|
### OpenAI Examples
|
|
113
113
|
| Example | Description |
|
|
114
114
|
| :--- | :--- |
|
|
115
|
-
| [Basic Chat](
|
|
116
|
-
| [Streaming](
|
|
117
|
-
| [Tool Calling](
|
|
118
|
-
| [Vision](
|
|
119
|
-
| [List Models](
|
|
120
|
-
| [Paint](
|
|
121
|
-
| [Image Features](
|
|
122
|
-
| [Token Usage](
|
|
123
|
-
|
|
124
|
-
To run an example:
|
|
115
|
+
| [Basic Chat](https://github.com/eshaiju/node-llm/blob/main/examples/openai/01-basic-chat.mjs) | Simple completion request |
|
|
116
|
+
| [Streaming](https://github.com/eshaiju/node-llm/blob/main/examples/openai/02-streaming.mjs) | Real-time token streaming |
|
|
117
|
+
| [Tool Calling](https://github.com/eshaiju/node-llm/blob/main/examples/openai/03-tool-calling.mjs) | Automatic tool execution loop |
|
|
118
|
+
| [Vision](https://github.com/eshaiju/node-llm/blob/main/examples/openai/04-vision.mjs) | Image analysis |
|
|
119
|
+
| [List Models](https://github.com/eshaiju/node-llm/blob/main/examples/openai/05-list-models.mjs) | Enumerate available models |
|
|
120
|
+
| [Paint](https://github.com/eshaiju/node-llm/blob/main/examples/openai/06-paint.mjs) | Image generation with DALL-E |
|
|
121
|
+
| [Image Features](https://github.com/eshaiju/node-llm/blob/main/examples/openai/07-image-features.mjs) | Saving and processing generated images |
|
|
122
|
+
| [Token Usage](https://github.com/eshaiju/node-llm/blob/main/examples/openai/08-token-usage.mjs) | Detailed stats for turns and conversations |
|
|
123
|
+
|
|
124
|
+
To run an example (from the project root):
|
|
125
125
|
```bash
|
|
126
126
|
node examples/openai/01-basic-chat.mjs
|
|
127
127
|
```
|