Skip to content

Commit 1cd5a11

Browse files
committed
heavy notebook with custom image
1 parent ab338d1 commit 1cd5a11

12 files changed

Lines changed: 775 additions & 778 deletions

File tree

.http

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
### main_page
2+
3+
# @accept chunked
4+
5+
GET https://open.accelerate.science HTTP/2
6+
Accept: text/html
7+
8+
9+
### proxy
10+
11+
# @secret TOKEN
12+
# @accept chunked
13+
14+
< {%
15+
// Pre-request script
16+
const crypto = require('crypto');
17+
const nonce = crypto.randomBytes(16).toString('hex');
18+
19+
// Set request-scoped variables
20+
request.variables.set('NONCE', nonce);
21+
%}
22+
23+
POST https://open.accelerate.science/proxy/post HTTP/2
24+
Content-Type: application/json
25+
Accept: application/json
26+
Inference-Service: postman
27+
Authorization: Bearer {{TOKEN}}
28+
29+
{
30+
"hello": "{{$uuid}}",
31+
"previous": "{{main_page.response.body.*}}",
32+
"world": "{{NONCE}}"
33+
}
34+
35+
36+
### MCP
37+
38+
POST http://open.accelerate.science/mcp/vms/proxy/8024/smol/CC%28%3DO%29Oc1ccccc1C%28%3DO%29O HTTP/2
39+
Content-Type: application/json
40+
Accept: application/json
41+
Authorization: Bearer {{TOKEN}}
42+
43+
44+
### Something
45+
46+
POST https://open.accelerate.science/proxy/service/collections/demo HTTP/2
47+
Inference-Service: neural-pde-solvers
48+
Authorization: Bearer {{TOKEN}}
49+
50+
--boundary-string
51+
Content-Disposition: form-data; name="file"; filename="decimated_mesh.vtk"
52+
Content-Type: application/octet-stream
53+
54+
< /home/dchoi/Downloads/decimated_mesh.vtk
55+
--boundary-string--
56+
57+
58+
### MCP
59+
60+
POST https://open.accelerate.science/mcp/ollama/api/generate HTTP/2
61+
Content-Type: application/json
62+
Accept: application/json
63+
Authorization: Bearer {{TOKEN}}
64+
65+
{
66+
"model": "llama3.1:8b",
67+
"prompt": "Why is the sky blue?",
68+
"stream": false
69+
}
70+
71+
### MCP
72+
73+
POST https://open.accelerate.science/mcp/bioverse/v1/chat/completions HTTP/2
74+
Content-Type: application/json
75+
Accept: application/json
76+
Authorization: Bearer {{TOKEN}}
77+
78+
{
79+
"model": "bioverse-llm",
80+
"messages": [
81+
{
82+
"role": "user",
83+
"content": "analyze the following sequence QVQLVETGGGLVQAGGSLRLSCAASGNINSFNAMGWFRQAPGKQRELVAAITFGGRTNYADSVKGRFTISRDNTKGSVYLQMNSLKPEDTAVYYCAASENNLLTGVWHYWGRGTQVTVSS"
84+
}
85+
],
86+
"temperature": 0.7,
87+
"top_p": 0.95,
88+
"max_tokens": 1024
89+
}

0 commit comments

Comments
 (0)