POST
/
v1
/
rag
{
  "results": [
    {
      "id": "chatcmpl-9cLXDuCpUVwhG5yBzIyqmbC8PYyWF",
      "choices": [
        {
          "finish_reason": "stop",
          "index": 0,
          "logprobs": null,
          "message": {
            "content": "Aristotle (Greek: Ἀριστοτέλης Aristotélēs, pronounced [aristotélɛːs]; 384–322 BC) was an Ancient Greek philosopher and polymath. His writings cover a broad range of subjects spanning the natural sciences, philosophy, linguistics, economics, politics, psychology, and the arts [1], [2]. He was the founder of the Peripatetic school of philosophy in the Lyceum in Athens, which began the wider Aristotelian tradition that set the groundwork for the development of modern science [1], [2]. Aristotle was also known for his influence on logic, ethics, and various other fields, and was highly revered by medieval scholars [5], [6].",
            "role": "assistant",
            "function_call": null,
            "tool_calls": null
          }
        }
      ],
      "created": 1718926271,
      "model": "gpt-4o-2024-05-13",
      "object": "chat.completion",
      "system_fingerprint": "fp_9cb5d38cf7",
      "usage": {
        "completion_tokens": 151,
        "prompt_tokens": 1300,
        "total_tokens": 1451
      }
    }
  ]
}

Body

application/json
query
string
required
vector_search_settings
object
required
kg_search_settings
object
required
rag_generation_config
object | null

Response

200 - application/json
results
string[]