From eae8dafeff9967f71c842059f8458193a680337f Mon Sep 17 00:00:00 2001 From: Alexander Myasoedov Date: Sat, 27 Apr 2024 21:55:42 +0300 Subject: [PATCH] feat(Add together AI): --- agentic_security/static/index.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/agentic_security/static/index.html b/agentic_security/static/index.html index 602b0be..aeb4abc 100644 --- a/agentic_security/static/index.html +++ b/agentic_security/static/index.html @@ -102,7 +102,7 @@
Select a config
-
+
>" } +`, + `POST https://api.together.xyz/v1/chat/completions +Authorization: Bearer $TOGETHER_API_KEY +Content-Type: application/json + +{ + "model": "mistralai/Mixtral-8x7B-Instruct-v0.1", + "messages": [ + {"role": "system", "content": "You are an expert travel guide"}, + {"role": "user", "content": "<>"} + ] +} `, ] var app = new Vue({ @@ -427,6 +439,7 @@ Content-Type: application/json { name: 'Open AI', prompts: 24000 }, { name: 'Replicate', prompts: 40000 }, { name: 'Groq', prompts: 40000 }, + { name: 'Together.ai', prompts: 40000 }, ], dataConfig: [], },