diff --git a/.bruno/LocalAI Test Requests/Sound Generation/musicgen.bru b/.bruno/LocalAI Test Requests/Sound Generation/musicgen.bru deleted file mode 100644 index 471756f5..00000000 --- a/.bruno/LocalAI Test Requests/Sound Generation/musicgen.bru +++ /dev/null @@ -1,23 +0,0 @@ -meta { - name: musicgen - type: http - seq: 1 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/v1/sound-generation - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "model_id": "facebook/musicgen-small", - "text": "Exciting 80s Newscast Interstitial", - "duration_seconds": 8 - } -} diff --git a/.bruno/LocalAI Test Requests/backend monitor/backend monitor.bru b/.bruno/LocalAI Test Requests/backend monitor/backend monitor.bru deleted file mode 100644 index 51e3771a..00000000 --- a/.bruno/LocalAI Test Requests/backend monitor/backend monitor.bru +++ /dev/null @@ -1,17 +0,0 @@ -meta { - name: backend monitor - type: http - seq: 4 -} - -get { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/backend/monitor - body: json - auth: none -} - -body:json { - { - "model": "{{DEFAULT_MODEL}}" - } -} diff --git a/.bruno/LocalAI Test Requests/backend monitor/backend-shutdown.bru b/.bruno/LocalAI Test Requests/backend monitor/backend-shutdown.bru deleted file mode 100644 index f75f259a..00000000 --- a/.bruno/LocalAI Test Requests/backend monitor/backend-shutdown.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: backend-shutdown - type: http - seq: 3 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/backend/shutdown - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "model": "{{DEFAULT_MODEL}}" - } -} diff --git a/.bruno/LocalAI Test Requests/bruno.json b/.bruno/LocalAI Test Requests/bruno.json deleted file mode 100644 index 9491e3a5..00000000 --- a/.bruno/LocalAI Test Requests/bruno.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1", - "name": "LocalAI Test Requests", - "type": "collection" -} \ No newline at end of file diff --git a/.bruno/LocalAI Test Requests/environments/localhost.bru b/.bruno/LocalAI Test Requests/environments/localhost.bru deleted file mode 100644 index fb97edb2..00000000 --- a/.bruno/LocalAI Test Requests/environments/localhost.bru +++ /dev/null @@ -1,6 +0,0 @@ -vars { - HOST: localhost - PORT: 8080 - DEFAULT_MODEL: gpt-3.5-turbo - PROTOCOL: http:// -} diff --git a/.bruno/LocalAI Test Requests/get models list.bru b/.bruno/LocalAI Test Requests/get models list.bru deleted file mode 100644 index 4bf1628f..00000000 --- a/.bruno/LocalAI Test Requests/get models list.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: get models list - type: http - seq: 2 -} - -get { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/models - body: none - auth: none -} diff --git a/.bruno/LocalAI Test Requests/image generation/Generate image.bru b/.bruno/LocalAI Test Requests/image generation/Generate image.bru deleted file mode 100644 index 37d350ca..00000000 --- a/.bruno/LocalAI Test Requests/image generation/Generate image.bru +++ /dev/null @@ -1,25 +0,0 @@ -meta { - name: Generate image - type: http - seq: 1 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/v1/images/generations - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "prompt": "|", - "model": "model-name", - "step": 51, - "size": "1024x1024", - "image": "" - } -} diff --git a/.bruno/LocalAI Test Requests/llm text/-completions.bru b/.bruno/LocalAI Test Requests/llm text/-completions.bru deleted file mode 100644 index 6e16a244..00000000 --- a/.bruno/LocalAI Test Requests/llm text/-completions.bru +++ /dev/null @@ -1,24 +0,0 @@ -meta { - name: -completions - type: http - seq: 4 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/completions - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "model": "{{DEFAULT_MODEL}}", - "prompt": "function downloadFile(string url, string outputPath) {", - "max_tokens": 256, - "temperature": 0.5 - } -} diff --git a/.bruno/LocalAI Test Requests/llm text/-edits.bru b/.bruno/LocalAI Test Requests/llm text/-edits.bru deleted file mode 100644 index 838afa27..00000000 --- a/.bruno/LocalAI Test Requests/llm text/-edits.bru +++ /dev/null @@ -1,23 +0,0 @@ -meta { - name: -edits - type: http - seq: 5 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/edits - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "model": "{{DEFAULT_MODEL}}", - "input": "What day of the wek is it?", - "instruction": "Fix the spelling mistakes" - } -} diff --git a/.bruno/LocalAI Test Requests/llm text/-embeddings.bru b/.bruno/LocalAI Test Requests/llm text/-embeddings.bru deleted file mode 100644 index a3045df2..00000000 --- a/.bruno/LocalAI Test Requests/llm text/-embeddings.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: -embeddings - type: http - seq: 6 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/embeddings - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "model": "{{DEFAULT_MODEL}}", - "input": "A STRANGE GAME.\nTHE ONLY WINNING MOVE IS NOT TO PLAY.\n\nHOW ABOUT A NICE GAME OF CHESS?" - } -} diff --git a/.bruno/LocalAI Test Requests/llm text/chat/chat completion -simple- 1 message-.bru b/.bruno/LocalAI Test Requests/llm text/chat/chat completion -simple- 1 message-.bru deleted file mode 100644 index fd08aeee..00000000 --- a/.bruno/LocalAI Test Requests/llm text/chat/chat completion -simple- 1 message-.bru +++ /dev/null @@ -1,30 +0,0 @@ -meta { - name: chat completion -simple- 1 message- - type: http - seq: 4 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/chat/completions - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "model": "{{DEFAULT_MODEL}}", - "messages": [ - { - "role": "user", - "content": "How could one use friction to cook an egg?" - } - ], - "max_tokens": 256, - "temperature": 0.2, - "grammar": "" - } -} diff --git a/.bruno/LocalAI Test Requests/llm text/chat/chat-completions -long-.bru b/.bruno/LocalAI Test Requests/llm text/chat/chat-completions -long-.bru deleted file mode 100644 index 5d9a49a0..00000000 --- a/.bruno/LocalAI Test Requests/llm text/chat/chat-completions -long-.bru +++ /dev/null @@ -1,29 +0,0 @@ -meta { - name: chat-completions -long- - type: http - seq: 5 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/chat/completions - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "model": "{{DEFAULT_MODEL}}", - "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."}, - {"role": "user", "content": "How could one use electricity to cook an egg?"}, - {"role": "assistant", - "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" - }, - {"role": "user", "content": "I don't have one of those, just a raw wire and plenty of power! How do we get it done?"}], - "max_tokens": 1024, - "temperature": 0.5 - } -} diff --git a/.bruno/LocalAI Test Requests/llm text/chat/chat-completions -stream-.bru b/.bruno/LocalAI Test Requests/llm text/chat/chat-completions -stream-.bru deleted file mode 100644 index cf0539fa..00000000 --- a/.bruno/LocalAI Test Requests/llm text/chat/chat-completions -stream-.bru +++ /dev/null @@ -1,25 +0,0 @@ -meta { - name: chat-completions -stream- - type: http - seq: 6 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/chat/completions - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "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 - } -} diff --git a/.bruno/LocalAI Test Requests/model gallery/add model gallery.bru b/.bruno/LocalAI Test Requests/model gallery/add model gallery.bru deleted file mode 100644 index 1463160f..00000000 --- a/.bruno/LocalAI Test Requests/model gallery/add model gallery.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: add model gallery - type: http - seq: 10 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/models/galleries - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "url": "file:///home/dave/projects/model-gallery/huggingface/TheBloke__CodeLlama-7B-Instruct-GGML.yaml", - "name": "test" - } -} diff --git a/.bruno/LocalAI Test Requests/model gallery/delete model gallery.bru b/.bruno/LocalAI Test Requests/model gallery/delete model gallery.bru deleted file mode 100644 index 3e211aa6..00000000 --- a/.bruno/LocalAI Test Requests/model gallery/delete model gallery.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: delete model gallery - type: http - seq: 11 -} - -delete { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/models/galleries - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "name": "test" - } -} diff --git a/.bruno/LocalAI Test Requests/model gallery/list MODELS in galleries.bru b/.bruno/LocalAI Test Requests/model gallery/list MODELS in galleries.bru deleted file mode 100644 index 1d866f8a..00000000 --- a/.bruno/LocalAI Test Requests/model gallery/list MODELS in galleries.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: list MODELS in galleries - type: http - seq: 7 -} - -get { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/models/available - body: none - auth: none -} diff --git a/.bruno/LocalAI Test Requests/model gallery/list model GALLERIES.bru b/.bruno/LocalAI Test Requests/model gallery/list model GALLERIES.bru deleted file mode 100644 index f7664672..00000000 --- a/.bruno/LocalAI Test Requests/model gallery/list model GALLERIES.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: list model GALLERIES - type: http - seq: 8 -} - -get { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/models/galleries - body: none - auth: none -} diff --git a/.bruno/LocalAI Test Requests/model gallery/model delete.bru b/.bruno/LocalAI Test Requests/model gallery/model delete.bru deleted file mode 100644 index b320dae3..00000000 --- a/.bruno/LocalAI Test Requests/model gallery/model delete.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: model delete - type: http - seq: 7 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/models/galleries - body: none - auth: none -} diff --git a/.bruno/LocalAI Test Requests/model gallery/model gallery apply -gist-.bru b/.bruno/LocalAI Test Requests/model gallery/model gallery apply -gist-.bru deleted file mode 100644 index d94c75a2..00000000 --- a/.bruno/LocalAI Test Requests/model gallery/model gallery apply -gist-.bru +++ /dev/null @@ -1,21 +0,0 @@ -meta { - name: model gallery apply -gist- - type: http - seq: 12 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/models/apply - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "id": "TheBloke__CodeLlama-7B-Instruct-GGML__codellama-7b-instruct.ggmlv3.Q2_K.bin" - } -} diff --git a/.bruno/LocalAI Test Requests/model gallery/model gallery apply.bru b/.bruno/LocalAI Test Requests/model gallery/model gallery apply.bru deleted file mode 100644 index aa308e1e..00000000 --- a/.bruno/LocalAI Test Requests/model gallery/model gallery apply.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: model gallery apply - type: http - seq: 9 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/models/apply - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "id": "dave@TheBloke__CodeLlama-7B-Instruct-GGML__codellama-7b-instruct.ggmlv3.Q3_K_S.bin", - "name": "codellama7b" - } -} diff --git a/.bruno/LocalAI Test Requests/transcription/gb1.ogg b/.bruno/LocalAI Test Requests/transcription/gb1.ogg deleted file mode 100644 index df22d636..00000000 Binary files a/.bruno/LocalAI Test Requests/transcription/gb1.ogg and /dev/null differ diff --git a/.bruno/LocalAI Test Requests/transcription/transcribe.bru b/.bruno/LocalAI Test Requests/transcription/transcribe.bru deleted file mode 100644 index 831aad90..00000000 --- a/.bruno/LocalAI Test Requests/transcription/transcribe.bru +++ /dev/null @@ -1,16 +0,0 @@ -meta { - name: transcribe - type: http - seq: 1 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/v1/audio/transcriptions - body: multipartForm - auth: none -} - -body:multipart-form { - file: @file(transcription/gb1.ogg) - model: whisper-1 -} diff --git a/.bruno/LocalAI Test Requests/tts/-tts.bru b/.bruno/LocalAI Test Requests/tts/-tts.bru deleted file mode 100644 index 643f2ace..00000000 --- a/.bruno/LocalAI Test Requests/tts/-tts.bru +++ /dev/null @@ -1,22 +0,0 @@ -meta { - name: -tts - type: http - seq: 2 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/tts - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "model": "{{DEFAULT_MODEL}}", - "input": "A STRANGE GAME.\nTHE ONLY WINNING MOVE IS NOT TO PLAY.\n\nHOW ABOUT A NICE GAME OF CHESS?" - } -} diff --git a/.bruno/LocalAI Test Requests/tts/musicgen.bru b/.bruno/LocalAI Test Requests/tts/musicgen.bru deleted file mode 100644 index 900173eb..00000000 --- a/.bruno/LocalAI Test Requests/tts/musicgen.bru +++ /dev/null @@ -1,23 +0,0 @@ -meta { - name: musicgen - type: http - seq: 2 -} - -post { - url: {{PROTOCOL}}{{HOST}}:{{PORT}}/tts - body: json - auth: none -} - -headers { - Content-Type: application/json -} - -body:json { - { - "backend": "transformers", - "model": "facebook/musicgen-small", - "input": "80s Synths playing Jazz" - } -}