Add @moduledoc to OpenAI.API
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
defmodule OpenAI.API do
|
defmodule OpenAI.API do
|
||||||
|
@moduledoc """
|
||||||
|
Low-level HTTP client for the OpenAI API (chat completions, streaming responses, embeddings).
|
||||||
|
"""
|
||||||
|
|
||||||
require Logger
|
require Logger
|
||||||
|
|
||||||
@spec gpt(OpenAI.Completion.t(), OpenAI.Config.t()) :: {:ok, map()} | {:error, term()}
|
@spec gpt(OpenAI.Completion.t(), OpenAI.Config.t()) :: {:ok, map()} | {:error, term()}
|
||||||
|
|||||||
Reference in New Issue
Block a user