cost-katana-cli 2.0.0 → 2.0.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 +28 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,6 +44,32 @@ cost-katana chat
|
|
|
44
44
|
|
|
45
45
|
That's it!
|
|
46
46
|
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 📚 **More Examples**
|
|
50
|
+
|
|
51
|
+
**Looking for more comprehensive examples?** Check out our complete examples repository
|
|
52
|
+
|
|
53
|
+
**🔗 [github.com/Hypothesize-Tech/costkatana-examples](https://github.com/Hypothesize-Tech/costkatana-examples)**
|
|
54
|
+
|
|
55
|
+
**What's included:**
|
|
56
|
+
- ✅ 44 feature sections covering every Cost Katana capability
|
|
57
|
+
- ✅ CLI examples and guides in [Section 9](https://github.com/Hypothesize-Tech/costkatana-examples/tree/main/9-cli)
|
|
58
|
+
- ✅ HTTP REST API examples (`.http` files)
|
|
59
|
+
- ✅ TypeScript/Node.js examples
|
|
60
|
+
- ✅ Python SDK examples
|
|
61
|
+
- ✅ Framework integrations (Express, Next.js, Fastify, NestJS, FastAPI)
|
|
62
|
+
- ✅ Real-world use cases with best practices
|
|
63
|
+
|
|
64
|
+
**Popular examples:**
|
|
65
|
+
- [CLI Examples](https://github.com/Hypothesize-Tech/costkatana-examples/tree/main/9-cli) - Complete CLI guides
|
|
66
|
+
- [Cost Tracking](https://github.com/Hypothesize-Tech/costkatana-examples/tree/main/1-cost-tracking) - Track costs across all providers
|
|
67
|
+
- [Webhooks](https://github.com/Hypothesize-Tech/costkatana-examples/tree/main/10-webhooks) - Real-time notifications
|
|
68
|
+
- [Workflows](https://github.com/Hypothesize-Tech/costkatana-examples/tree/main/13-workflows) - Multi-step AI orchestration
|
|
69
|
+
- [Semantic Caching](https://github.com/Hypothesize-Tech/costkatana-examples/tree/main/14-cache) - 30-40% cost reduction
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
47
73
|
## Essential Commands
|
|
48
74
|
|
|
49
75
|
### Chat with AI
|
|
@@ -166,7 +192,7 @@ cost-katana config set daily-limit 5
|
|
|
166
192
|
|
|
167
193
|
```bash
|
|
168
194
|
# Alternative to init command
|
|
169
|
-
export
|
|
195
|
+
export COST_KATANA_API_KEY="dak_your_key"
|
|
170
196
|
export COST_KATANA_MODEL="gpt-4"
|
|
171
197
|
```
|
|
172
198
|
|
|
@@ -272,7 +298,7 @@ cost-katana chat
|
|
|
272
298
|
cost-katana init
|
|
273
299
|
|
|
274
300
|
# Or set environment variable
|
|
275
|
-
export
|
|
301
|
+
export COST_KATANA_API_KEY="dak_your_key"
|
|
276
302
|
```
|
|
277
303
|
|
|
278
304
|
### "Model not available"
|