Spaces:
Paused
Paused
ai: Introduce J.A.R.V.I.S. new API Endpoint.
Browse files- README.md +2 -0
- docs/API.md +16 -0
README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
---
|
| 2 |
title: J.A.R.V.I.S.
|
|
|
|
|
|
|
| 3 |
colorFrom: yellow
|
| 4 |
colorTo: purple
|
| 5 |
sdk: gradio
|
|
|
|
| 1 |
---
|
| 2 |
title: J.A.R.V.I.S.
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
license_link: https://huggingface.co/hadadrjt/JARVIS/blob/main/LICENSE
|
| 5 |
colorFrom: yellow
|
| 6 |
colorTo: purple
|
| 7 |
sdk: gradio
|
docs/API.md
CHANGED
|
@@ -60,3 +60,19 @@ model = "DeepSeek: V3-0324"
|
|
| 60 |
|
| 61 |
Please note that the Deep Search feature is only available for JARVIS: 2.1.3.
|
| 62 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
Please note that the Deep Search feature is only available for JARVIS: 2.1.3.
|
| 62 |
```
|
| 63 |
+
|
| 64 |
+
### OpenAI Style
|
| 65 |
+
|
| 66 |
+
If you are using the OpenAI style, there is no need to install all the processes mentioned above.
|
| 67 |
+
|
| 68 |
+
```
|
| 69 |
+
curl https://hadadrjt-api.hf.space/v1/responses \
|
| 70 |
+
-H "Content-Type: application/json" \
|
| 71 |
+
-d '{
|
| 72 |
+
"model": "JARVIS: 2.1.3",
|
| 73 |
+
"input": "Write a one-sentence bedtime story about a unicorn.",
|
| 74 |
+
"stream": true
|
| 75 |
+
}'
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
This is a powerful solution for integration with various systems and software, including building your own chatbot. No API key is required.
|