Llama

Send a request to POST https://api.deepgen.app/llama/api from your code. Pick a language below.

Request body schema

The endpoint accepts a JSON body of type BaseRequestPayload. The most common field is question (the user prompt). See the full schema in the API docs.

  • question — string, the user's message
  • type"Chat" (default) or "Fim"
  • stream — boolean, set true for SSE streaming
  • save_conversation — boolean, persist to Firestore (default true)