{"info":{"_postman_id":"d3445430-bd8c-411a-b9f1-fc31d3629f4d","name":"SuperAGI Models","description":"<html><head></head><body><p>Test your Model via an API call here.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30119783","collectionId":"d3445430-bd8c-411a-b9f1-fc31d3629f4d","publishedId":"2s9YR3cFJG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"212121","highlight":"7861FF"},"publishDate":"2023-10-17T11:28:07.000Z"},"item":[{"name":"Chat API Endpoint","id":"45886870-ac64-44ff-8a0e-a7edad22ff90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer $SUPERAGI_API_KEY"}],"body":{"mode":"raw","raw":"{\n  \"system_prompt\": \"You are a helpful AI assistant\",\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\":\"Can you help me to write code for a game\"\n    },\n    {\n      \"role\": \"assistant\",\n      \"content\": \"Of course! I'd be happy to help you write code for a game. Can you provide more details about the game you want to create?\"\n    },\n    {\n      \"role\": \"user\",\n      \"content\": \"I need code for a tic-tac-toe game\"\n    }\n  ],\n  \"max_tokens\": 100,\n  \"temperature\": 0.9,\n  \"top_p\": 0.1,\n  \"repetition_penalty\": 0,\n  \"best_of\": 1,\n  \"top_k\": 10\n}"},"url":"https://api.superagi.com/model/6516c4f6f32e8adddda248c8","description":"<p>This is the chat endpoint of AGI-1. Please add your API key when making the API call.</p>\n","urlObject":{"protocol":"https","path":["model","6516c4f6f32e8adddda248c8"],"host":["api","superagi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"45886870-ac64-44ff-8a0e-a7edad22ff90"},{"name":"Generate API Endpoint","id":"2a0203b0-273b-48df-bbb1-3c709f8eb941","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer $SUPERAGI_API_KEY"}],"body":{"mode":"raw","raw":"{\n  \"prompt\": [\"Write a tweet about machine learning\"],\n  \"max_tokens\": 300,\n  \"temperature\": 0.9,\n  \"top_p\": 0.1,\n  \"repetition_penalty\": 0,\n  \"best_of\": 1,\n  \"top_k\": 10\n}"},"url":"http://api.superagi.com/v1/generate/6543984a4957093f772e22e7","description":"<p>This is the generation endpoint of AGI-1. Please add your API key when making the API call.</p>\n","urlObject":{"protocol":"http","path":["v1","generate","6543984a4957093f772e22e7"],"host":["api","superagi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a0203b0-273b-48df-bbb1-3c709f8eb941"}]}