@hongymagic/q 0.5.0 → 0.6.1
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 +19 -0
- package/dist/q.js +14012 -501
- package/package.json +18 -14
package/README.md
CHANGED
|
@@ -38,6 +38,21 @@ q how do I restart docker
|
|
|
38
38
|
q --copy what is a kubernetes pod
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
### Piping Content
|
|
42
|
+
|
|
43
|
+
Pipe content as context for your question:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
cat error.log | q "what's wrong here?"
|
|
47
|
+
git diff | q "summarise these changes"
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Or pipe the query itself:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
echo "how do I restart docker" | q
|
|
54
|
+
```
|
|
55
|
+
|
|
41
56
|
### Options
|
|
42
57
|
|
|
43
58
|
| Option | Description |
|
|
@@ -74,6 +89,10 @@ See [config.example.toml](config.example.toml) for all options.
|
|
|
74
89
|
| `openai_compatible` | Any OpenAI-compatible API |
|
|
75
90
|
| `ollama` | Local Ollama instance |
|
|
76
91
|
| `portkey` | Portkey AI Gateway (self-hosted or cloud) |
|
|
92
|
+
| `google` | Google Gemini API |
|
|
93
|
+
| `groq` | Groq (ultra-fast Llama, Mixtral inference) |
|
|
94
|
+
| `azure` | Azure OpenAI deployments |
|
|
95
|
+
| `bedrock` | AWS Bedrock (Claude, Titan, Llama) |
|
|
77
96
|
|
|
78
97
|
### Portkey Gateway Setup
|
|
79
98
|
|