llaminate 0.1.0 → 0.1.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 +8 -4
- package/dist/build-info.json +2 -2
- package/docs/index.html +8 -4
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
|
-
Llaminate is a simple but powerful library designed to abstract-away differences
|
|
3
|
+
Llaminate is a simple but powerful library designed to abstract-away differences
|
|
4
|
+
between chat completion APIs across LLM providers.
|
|
4
5
|
|
|
5
|
-
It's robust at managing prompts, message histories, token usage and integrating
|
|
6
|
+
It's robust at managing prompts, message histories, token usage and integrating
|
|
7
|
+
tools. Ideal for quickly building applications to interact with LLM services,
|
|
8
|
+
that may need to switch between them.
|
|
6
9
|
|
|
7
10
|
```bash
|
|
8
11
|
npm -i llaminate
|
|
@@ -87,7 +90,8 @@ console.log(snarky.tokens.total);
|
|
|
87
90
|
|
|
88
91
|
## Documentation
|
|
89
92
|
|
|
90
|
-
Full [documentation is
|
|
93
|
+
Full [documentation is available](https://oliver-moran.github.io/llaminate/) on
|
|
94
|
+
the GitHub pages website for the probject.
|
|
91
95
|
|
|
92
96
|
---
|
|
93
97
|
|
package/dist/build-info.json
CHANGED
package/docs/index.html
CHANGED
|
@@ -43,9 +43,12 @@
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
<section>
|
|
46
|
-
<article><p><img src="
|
|
47
|
-
<p>Llaminate is a simple but powerful library designed to abstract-away differences
|
|
48
|
-
|
|
46
|
+
<article><p><img src="https://oliver-moran.github.io/llaminate/assets/llaminate-256.webp" alt="Llamina, the Llaminate mascot"></p>
|
|
47
|
+
<p>Llaminate is a simple but powerful library designed to abstract-away differences
|
|
48
|
+
between chat completion APIs across LLM providers.</p>
|
|
49
|
+
<p>It's robust at managing prompts, message histories, token usage and integrating
|
|
50
|
+
tools. Ideal for quickly building applications to interact with LLM services,
|
|
51
|
+
that may need to switch between them.</p>
|
|
49
52
|
<pre class="prettyprint source lang-bash"><code>npm -i llaminate
|
|
50
53
|
</code></pre>
|
|
51
54
|
<pre class="prettyprint source lang-typescript"><code>import { Llaminate } from "llaminate";
|
|
@@ -113,7 +116,8 @@ console.log(snarky.message.thoughts);
|
|
|
113
116
|
console.log(snarky.tokens.total);
|
|
114
117
|
</code></pre>
|
|
115
118
|
<h2>Documentation</h2>
|
|
116
|
-
<p>Full <a href="
|
|
119
|
+
<p>Full <a href="https://oliver-moran.github.io/llaminate/">documentation is available</a> on
|
|
120
|
+
the GitHub pages website for the probject.</p>
|
|
117
121
|
<hr>
|
|
118
122
|
<p>This project is licensed under the MIT License. See the <a href="LICENSE">LICENSE</a> file
|
|
119
123
|
for details.</p></article>
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "llaminate",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "A simple but powerful library that abstracts LLM chat completions, providing chat history, tokens tracking and tools interfaces.",
|
|
5
|
+
"repository": "github:oliver-moran/llaminate",
|
|
5
6
|
"main": "dist/llaminate.min.js",
|
|
6
7
|
"types": "dist/llaminate.d.ts",
|
|
7
8
|
"scripts": {
|