From f7628267b36c3d2cd5aa20b91655a7f11207868d Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 13 Apr 2026 13:15:43 +0100 Subject: [PATCH] Add @moduledoc to OpenAI.API --- lib/open_ai/api.ex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/open_ai/api.ex b/lib/open_ai/api.ex index 2dc15f4b..97211ad4 100644 --- a/lib/open_ai/api.ex +++ b/lib/open_ai/api.ex @@ -1,4 +1,8 @@ defmodule OpenAI.API do + @moduledoc """ + Low-level HTTP client for the OpenAI API (chat completions, streaming responses, embeddings). + """ + require Logger @spec gpt(OpenAI.Completion.t(), OpenAI.Config.t()) :: {:ok, map()} | {:error, term()}