Skip to content
Snippets Groups Projects
Commit 84ddd88d authored by Martin Forell's avatar Martin Forell
Browse files

Init Insomnium

parent 655c7dfe
No related branches found
No related tags found
No related merge requests found
Showing
with 561 additions and 0 deletions
_id: spc_edb7c95f145c428b81f2a10bbde9edd0
type: ApiSpec
parentId: wrk_a2f3fad42c054fdb98d583e052be052b
modified: 1700729329153
created: 1700729329153
fileName: New Document
contents: ""
contentType: yaml
_id: env_9ca5b15eb062411683efc7a91a823ce1
type: Environment
parentId: env_ff10c98b863cb005b623cbe42c480d6d4c8fb948
modified: 1700664432588
created: 1692719607346
name: localhost
data:
HOST: http://coder.aifb.kit.edu
dataPropertyOrder:
"&":
- HOST
color: null
isPrivate: false
metaSortKey: 1692719607346
_id: env_ff10c98b863cb005b623cbe42c480d6d4c8fb948
type: Environment
parentId: wrk_a2f3fad42c054fdb98d583e052be052b
modified: 1700729329189
created: 1700729329189
name: Base Environment
data: {}
dataPropertyOrder: null
color: null
isPrivate: false
metaSortKey: 1700729329189
_id: req_07d0ec6b3a1b4a7cb825bd1a5e37aa31
type: Request
parentId: fld_d4d3232bc0824236aa34120b792b0fc9
modified: 1693542905270
created: 1692719560630
url: "{{HOST}}:{{PORT}}/models/available"
name: list MODELS in galleries
description: ""
method: GET
body:
mimeType: ""
text: |-
{
}
parameters: []
headers: []
authentication: {}
metaSortKey: -1692719560630
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_1a2cd64ed67f4334ae472a6391fe4c61
type: Request
parentId: fld_d4d3232bc0824236aa34120b792b0fc9
modified: 1693542894779
created: 1693526412262
url: "{{HOST}}:{{PORT}}/models/galleries"
name: list model GALLERIES
description: ""
method: GET
body:
mimeType: ""
text: |-
{
}
parameters: []
headers: []
authentication: {}
metaSortKey: -1692719560628.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_20a19561c1d54c37857b73e5df8c0ebf
type: Request
parentId: fld_05e9bb644fe74cf98e32c2d1c66332d4
modified: 1699609569520
created: 1692722256486
url: "{{HOST}}:{{PORT}}/embeddings"
name: /embeddings
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"input": "The food was delicious and the waiter...",
"model": "bert-embeddings"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560613.875
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_22c8a5a9a8934bc79e14ee5e1ddb1749
type: Request
parentId: fld_d8033c975a58478fbca9af6a9f7c1648
modified: 1700660121915
created: 1692719560594
url: "{{HOST}}:{{PORT}}/backend/shutdown"
name: backend/shutdown
description: ""
method: POST
body:
mimeType: application/json
text: "{\r
\ \"model\": \"{{DEFAULT_MODEL}}\"\r
}"
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560594
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_2903973fdbb043e6a067fc8ce68f6316
type: Request
parentId: fld_d4d3232bc0824236aa34120b792b0fc9
modified: 1700666200954
created: 1700666177442
url: "{{HOST}}:{{PORT}}/models/galleries"
name: add model gallery test
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"url": "github:go-skynet/model-gallery/mistral.yaml",
"name": "mistral"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560625.125
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_45129ddb34dd46b5a590e80d25a05c4e
type: Request
parentId: fld_d4d3232bc0824236aa34120b792b0fc9
modified: 1700667102582
created: 1692826085669
url: "{{HOST}}:{{PORT}}/models/apply"
name: model gallery apply (gist)
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"id": "model-gallery@bert-embeddings"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560624
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_47380310f8f24ba5a7fb01b1474992d5
type: Request
parentId: fld_d4d3232bc0824236aa34120b792b0fc9
modified: 1700669420790
created: 1693527252021
url: "{{HOST}}:{{PORT}}/models/galleries"
name: add model gallery
description: ""
method: POST
body:
mimeType: application/json
text: >-
{
"url": "https://gitlab.kit.edu/martin.forell/localai-model-gallery/-/raw/main/index.yaml",
"name": "bis-gitlab"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560625.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_50d04c368bf34e1ba40831e83439dccd
type: Request
parentId: fld_d8033c975a58478fbca9af6a9f7c1648
modified: 1700672615541
created: 1692719560587
url: "{{HOST}}:{{PORT}}/backend/monitor"
name: backend monitor
description: ""
method: GET
body:
mimeType: ""
text: |-
{
"model": "mistral"
}
parameters: []
headers: []
authentication: {}
metaSortKey: -1692719560587
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_52ff8dd1ce414136a565c8a5eef72645
type: Request
parentId: wrk_a2f3fad42c054fdb98d583e052be052b
modified: 1699608991268
created: 1699608963583
url: "{{HOST}}:{{PORT}}/docs"
name: New Request
description: ""
method: GET
body: {}
parameters: []
headers:
- name: User-Agent
value: insomnia/8.4.0
authentication: {}
metaSortKey: -1699608963583
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_711ee7a7ca6446da8a17b0e135791a66
type: Request
parentId: fld_15441eba6ba44b779ecccfd512ba9504
modified: 1700671202112
created: 1692719560608
url: "{{HOST}}:{{PORT}}/chat/completions"
name: chat completion (simple, 1 message)
description: ""
method: POST
body:
mimeType: application/json
text: >-
{
"model": "TheBloke_openchat_3_5__GGUF_7B_Q5_M",
"messages": [{"role": "user", "content": "How could one use friction to cook an egg?"}],
"max_tokens": 256,
"temperature": 0.2
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560611.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_77f2009dbe3a4f53a3b90539760a53c4
type: Request
parentId: fld_05e9bb644fe74cf98e32c2d1c66332d4
modified: 1700671968626
created: 1692719560621
url: "{{HOST}}:{{PORT}}/completions"
name: /completions
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"model": "TheBloke_openchat_3_5__GGUF_7B_Q5_M",
"prompt": "function downloadFile(string url, string outputPath) {",
"max_tokens": 256,
"temperature": 0.5
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560621
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_8ad71a08a01e4505ad8749fc0c7ebae5
type: Request
parentId: fld_d4d3232bc0824236aa34120b792b0fc9
modified: 1700671555786
created: 1692719560627
url: "{{HOST}}:{{PORT}}/models/apply"
name: model gallery apply
description: ""
method: POST
body:
mimeType: application/json
text: |
{
"id": "TheBloke_openchat_3_5__GGUF_7B_Q5_M",
"name": "TheBloke_openchat_3_5__GGUF_7B_Q5_M"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560627
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_8d7c4090bc314712a86c0fae19961e80
type: Request
parentId: fld_3812e10580c448a1b0416eae65f9f817
modified: 1699609205411
created: 1692719560635
url: "{{HOST}}:{{PORT}}/models"
name: get models list
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1692719560635
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_a2e3fed6199d47d78993f1cb80903969
type: Request
parentId: fld_05e9bb644fe74cf98e32c2d1c66332d4
modified: 1699609808221
created: 1692721748683
url: "{{HOST}}:{{PORT}}/edits"
name: /edits
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"model" :"openchat",
"input": "What day of the wek is it?",
"instruction": "Fix the spelling mistakes"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560616.25
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_b901e5640e114468aabe8fcd6391201f
type: Request
parentId: fld_15441eba6ba44b779ecccfd512ba9504
modified: 1692722124781
created: 1692719560615
url: "{{HOST}}:{{PORT}}/chat/completions"
name: chat/completions (long)
description: ""
method: POST
body:
mimeType: application/json
text: "{\r
\ \"model\": \"{{DEFAULT_MODEL}}\",\r
\ \"messages\": [{\"role\": \"system\", \"content\": \"You are a
helpful, intelligent pirate assistant. Always answer as helpfully as
possible, while being a pirate and using pirate language. If a question does
not make any sense, or is not factually coherent, explain why instead of
answering something not correct. If you don't know the answer to a question,
please don't share false information.\"},\r
\ {\"role\": \"user\", \"content\": \"How could one use
electricity to cook an egg?\"},\r
\ {\"role\": \"assistant\",\r
\ \"content\": \"Shiver me timbers! Using electricity to
cook an egg? Well, matey, I reckon that be a right curious idea! *adjusts
spectacles* Now, I ain't sure if this be possible, but I'll do me best to
help ye out.\\n\\nFirst things first, ye gotta understand that electricity
be a powerful force, and it can't just cook an egg on its own. Ye see,
electricity be like a mighty wind that can make things happen, but it needs
somethin' to work with. So, if ye want to use electricity to cook an egg, ye
gotta find a way to harness that power and make it do the cookin'.\\n\\nNow,
I know what ye might be thinkin': \\\"How do I harness the power of
electricity to cook an egg?\\\" Well, matey, there be a few ways to do it.
One way be to use a special device called an \\\"electric frying pan.\\\"
This be a pan that has a built-in heating element that gets hot when ye plug
it into a wall socket. When the element gets hot, ye can crack an egg into
the pan and watch as it cook\"\r
\ },\r
\ {\"role\": \"user\", \"content\": \"I don't have one of
those, just a raw wire and plenty of power! How do we get it done?\"}],\r
\ \"max_tokens\": 1024,\r
\ \"temperature\": 0.5\r
}"
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560561.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_d6e40727c0854474a9ea52b943eab2da
type: Request
parentId: fld_6a2b3849116f47108c1199f25d34fb72
modified: 1692722441541
created: 1692722374898
url: "{{HOST}}:{{PORT}}/tts"
name: /tts
description: ""
method: POST
body:
mimeType: application/json
text: >-
{
"model": "{{DEFAULT_MODEL}}",
"input": "A STRANGE GAME.\nTHE ONLY WINNING MOVE IS NOT TO PLAY.\n\nHOW ABOUT A NICE GAME OF CHESS?"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560630
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
_id: req_e34b8a826a414503876af770574c9d5c
type: Request
parentId: fld_15441eba6ba44b779ecccfd512ba9504
modified: 1700671374745
created: 1692719560619
url: "{{HOST}}:{{PORT}}/chat/completions"
name: chat/completions (stream)
description: ""
method: POST
body:
mimeType: application/json
text: >-
{
"model": "{{DEFAULT_MODEL}}",
"messages": [{"role": "user", "content": "Explain how I can set sail on the ocean using only power generated by seagulls?"}],
"max_tokens": 256,
"temperature": 0.9,
"stream": true
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1692719560511.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
segmentParams: []
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment