langtrain 0.1.14 → 0.1.15
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 +25 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
<p>
|
|
11
11
|
<a href="https://www.npmjs.com/package/langtrain"><img src="https://img.shields.io/npm/v/langtrain?style=flat-square&labelColor=18181b&color=22c55e" alt="npm version" /></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/langtrain"><img src="https://img.shields.io/npm/dm/langtrain?style=flat-square&labelColor=18181b&color=3b82f6" alt="npm downloads" /></a>
|
|
12
13
|
<a href="https://langtrain.ai"><img src="https://img.shields.io/badge/website-langtrain.ai-18181b?style=flat-square&labelColor=18181b" alt="website" /></a>
|
|
13
14
|
<a href="https://docs.langtrain.ai"><img src="https://img.shields.io/badge/docs-documentation-18181b?style=flat-square&labelColor=18181b" alt="documentation" /></a>
|
|
14
15
|
<a href="https://github.com/langtrain-ai/langtrain-sdk/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/langtrain?style=flat-square&labelColor=18181b&color=3b82f6" alt="license" /></a>
|
|
@@ -100,6 +101,29 @@ async function analyzeAndTune() {
|
|
|
100
101
|
- **☁️ Data Persistence**: Automatically sync datasets and training jobs with your workspace.
|
|
101
102
|
- **📊 Subscription Management**: Verify plan limits and feature access programmatically.
|
|
102
103
|
|
|
104
|
+
## ⚙️ Configuration
|
|
105
|
+
|
|
106
|
+
The SDK and CLI can be configured using environment variables `(dotenv supported)` or via `langtrain login`.
|
|
107
|
+
|
|
108
|
+
| Variable | Description |
|
|
109
|
+
| :--- | :--- |
|
|
110
|
+
| `LANGTRAIN_API_KEY` | Your project API Key (get it from the dashboard). |
|
|
111
|
+
| `LANGTRAIN_WORKSPACE_ID` | (Optional) Workspace ID for specific environment interaction. |
|
|
112
|
+
|
|
113
|
+
```typescript
|
|
114
|
+
// Example: Manually passing config
|
|
115
|
+
const client = new Langvision({
|
|
116
|
+
apiKey: "lt_sk_...",
|
|
117
|
+
workspaceId: "ws_..."
|
|
118
|
+
});
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## 🤝 Community & Support
|
|
122
|
+
|
|
123
|
+
- **[GitHub Discussions](https://github.com/langtrain-ai/langtrain-sdk/discussions)**: Ask questions and share ideas.
|
|
124
|
+
- **[Twitter](https://twitter.com/langtrain_ai)**: Follow for updates and announcements.
|
|
125
|
+
- **[Email](mailto:support@langtrain.ai)**: Contact us for enterprise support.
|
|
126
|
+
|
|
103
127
|
## 📚 Documentation
|
|
104
128
|
|
|
105
129
|
- [**Langtrain Documentation**](https://docs.langtrain.ai)
|
|
@@ -109,4 +133,4 @@ async function analyzeAndTune() {
|
|
|
109
133
|
## 📄 License
|
|
110
134
|
|
|
111
135
|
This repository is licensed under the [MIT License](LICENSE).
|
|
112
|
-
copyright © [Langtrain
|
|
136
|
+
copyright © [Langtrain](https://langtrain.xyz)
|