Chat

POST: https://api.oasis.ai/v1/chat/completions

Creates a model response for the given chat conversation


Request body

{
  "model": "llama8b",
  "messages": [
      {
        "role": "system",
        "content": "You are a chatbot on the Oasis network"
      },
      {
        "role": "user",
        "content": "Hello!"
      }
  ],
}

Last updated