File size: 1,192 Bytes
975341b
 
7f5eec6
934df70
8f64cac
934df70
70a6422
55378c8
 
975341b
 
7f5eec6
8f64cac
70a6422
991dd3b
8f64cac
70a6422
991dd3b
 
975341b
 
7f5eec6
 
8f64cac
7f5eec6
934df70
70a6422
991dd3b
55378c8
975341b
08ed4d4
 
 
 
 
 
 
 
 
 
 
 
 
 
975341b
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#### Installations

```bash
# Linux/Android (Termux)/MacOS/Windows.
# Make sure you have "wget", "python3" and "pip" installed.
# This package have very small size.
wget https://huggingface.co/spaces/hadadrjt/ai/raw/main/assets/bin/install.sh && chmod a+x install.sh && ./install.sh
```

#### Run J.A.R.V.I.S. in your terminal

```bash
# Example normal usage.
./ai Your message here.

# Example with Deep Search.
./ai -d Your message here.
```

#### Linux user's

```bash
# Bonus for more flexible.
sudo mv ai /bin/

# Now you can run with simple command.
ai Your message here.
```

### OpenAI Style (developers only)

If you are using the OpenAI style, there is no need to install all the processes mentioned above.

```
curl https://hadadrjt-api.hf.space/v1/responses \
  -H "Content-Type: application/json" \
  -d '{
    "model": "JARVIS: 2.1.3",
    "input": "Write a one-sentence bedtime story about a unicorn.",
    "stream": true
  }'
```

This is a powerful solution for integration with various systems and software, including building your own chatbot. No API key is required.

```
# Endpoint
# See at https://huggingface.co/spaces/hadadrjt/api
https://hadadrjt-api.hf.space/v1
```