Add @moduledoc to OpenAI.API

This commit is contained in:
Claudio Ortolina
2026-04-13 13:15:43 +01:00
parent a1b775f0ae
commit f7628267b3
+4
View File
@@ -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()}