POST
/
api
/
alph
/
{server_name}
/
perplexity
curl --request POST \
  --url https://dashboard.amdatascience.com/api/alph/{server_name}/perplexity \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '{
  "messages": [
    {
      "content": "hi",
      "role": "user"
    }
  ]
}'
"0:\"Hi\"\n0:\" there\"\n0:\" I'm\"\n0:\" Agent Al\"\n0:\"ph,\"\n0:\" and I\"\n0:\"'m here\"\n0:\" to help\"\n0:\" you with\"\n0:\" your query\"\n0:\". You\"\n0:\"'re currently\"\n0:\" working in\"\n0:\" the \\\"\"\n0:\"ai\\\"\"\n0:\" environment on\"\n0:\" the \\\"\"\n0:\"amds\"\n0:\"-medium_cpu\"\n0:\"\\\" server\"\n0:\", which\"\n0:\" is perfect\"\n0:\" for working\"\n0:\" with AI\"\n0:\" tools and\"\n0:\" SDKs\"\n0:\". This\"\n0:\" environment includes\"\n0:\" tools like\"\n0:\" Alph\"\n0:\"AI,\"\n0:\" OpenAI\"\n0:\"/Anth\"\n0:\"ropic/C\"\n0:\"ohere\"\n0:\" SDKs\"\n0:\", Sc\"\n0:\"ikit Learn\"\n0:\", pandas\"\n0:\", and\"\n0:\" numpy.\\n\\n\"\n0:\"Regarding your\"\n0:\" query,\"\n0:\" \\\"hi\"\n0:\"\\\" can\"\n0:\" have several\"\n0:\" meanings depending\"\n0:\" on the\"\n0:\" context.\"\n0:\" Here are\"\n0:\" a few\"\n0:\":\\n\\n1\"\n0:\". **\"\n0:\"Greeting\"\n0:\"**: \\\"\"\n0:\"Hi\\\"\"\n0:\" is commonly\"\n0:\" used as\"\n0:\" an informal\"\n0:\" greeting,\"\n0:\" similar to\"\n0:\" \\\"hello\"\n0:\"\\\" or\"\n0:\" \\\"hi\"\n0:\" there.\\\"\"\n0:\" For example\"\n0:\", \\\"\"\n0:\"Just called\"\n0:\" to say\"\n0:\" hi\\\"\"\n0:\" or \\\"\"\n0:\"The closet\"\n0:\" opened to\"\n0:\" reveal a\"\n0:\" large,\"\n0:\" furry,\"\n0:\" purple imaginary\"\n0:\" friend who\"\n0:\" stepped out\"\n0:\" and says\"\n0:\" hi before\"\n0:\" unleashing\"\n0:\" a massive\"\n0:\" snee\"\n0:\"ze\\\"\"\n0:\".\\n\\n2\"\n0:\". **\"\n0:\"Abbrev\"\n0:\"iation**:\"\n0:\" \\\"Hi\"\n0:\"\\\" can\"\n0:\" also be\"\n0:\" an abbreviation\"\n0:\" for \\\"\"\n0:\"high intensity\"\n0:\"\\\" or\"\n0:\" \\\"humidity\"\n0:\" index\\\"\"\n0:\".\\n\\n3\"\n0:\". **\"\n0:\"Music**:\"\n0:\" \\\"Hi\"\n0:\"\\\" is\"\n0:\" the title\"\n0:\" of a\"\n0:\" song by\"\n0:\" Hannah Diamond\"\n0:\", a\"\n0:\" popstar\"\n0:\" and professional\"\n0:\" image-maker\"\n0:\". The\"\n0:\" song's\"\n0:\" official video\"\n0:\" was released\"\n0:\" in \"\n0:\"2015\"\n0:\" and features\"\n0:\" Diamond's\"\n0:\" sparkly\"\n0:\" sounds and\"\n0:\" lovel\"\n0:\"orn lyrics\"\n0:\".\\n\\n4\"\n0:\". **\"\n0:\"Web3\"\n0:\" Neob\"\n0:\"ank**:\"\n0:\" \\\"Hi\"\n0:\"\\\" is\"\n0:\" also the\"\n0:\" name of\"\n0:\" a Web\"\n0:\"3 neob\"\n0:\"ank that\"\n0:\" allows users\"\n0:\" to buy\"\n0:\", trade\"\n0:\", send\"\n0:\", and\"\n0:\" earn cryptocurrencies\"\n0:\" and fiat\"\n0:\" currencies.\"\n0:\" It offers\"\n0:\" a debit\"\n0:\" card and\"\n0:\" multi-c\"\n0:\"urrency IB\"\n0:\"AN.\\n\\n\"\n0:\"5.\"\n0:\" **Inform\"\n0:\"al Sp\"\n0:\"elling**:\"\n0:\" In some\"\n0:\" cases,\"\n0:\" \\\"hi\"\n0:\"\\\" can\"\n0:\" be used\"\n0:\" as an\"\n0:\" informal,\"\n0:\" simplified spelling\"\n0:\" of \\\"\"\n0:\"high,\\\"\"\n0:\" such as\"\n0:\" in \\\"\"\n0:\"hi fidelity\"\n0:\"\\\".\\n\\n\"\n0:\"If you\"\n0:\" have any\"\n0:\" specific questions\"\n0:\" or need\"\n0:\" help with\"\n0:\" a project\"\n0:\", feel\"\n0:\" free to\"\n0:\" ask,\"\n0:\" and I\"\n0:\"'ll do\"\n0:\" my best\"\n0:\" to assist\"\n0:\" you.\"\n"

Authorizations

apiKey
string
headerrequired

Path Parameters

server_name
string
required

Body

application/json
messages
object[]

Response

200 - text/plain

The response is of type file.