Skip to content

Commit

Permalink
Update docstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmitsch committed Nov 8, 2023
1 parent d66a780 commit f5ceda6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spacy_llm/models/rest/openai/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ def openai_gpt_4_v2(
"""Returns OpenAI instance for 'gpt-4' model using REST to prompt API.
config (Dict[Any, Any]): LLM config passed on to the model's initialization.
name (Optional[Literal["gpt-4", "gpt-4-0314", "gpt-4-32k", "gpt-4-32k-0314"]]): Model to use. Base 'gpt-4' model by
default.
name (Literal["gpt-4", "gpt-4-0314", "gpt-4-32k", "gpt-4-32k-0314"]): Model to use. Base 'gpt-4' model by default.
RETURNS (Callable[[Iterable[str]], Iterable[str]]]): OpenAI instance for 'gpt-4' model
DOCS: https://spacy.io/api/large-language-models#models
Expand Down Expand Up @@ -95,7 +94,7 @@ def openai_gpt_4(
"""Returns OpenAI instance for 'gpt-4' model using REST to prompt API.
config (Dict[Any, Any]): LLM config passed on to the model's initialization.
name (Optional[Literal["gpt-4", "gpt-4-0314", "gpt-4-32k", "gpt-4-32k-0314"]]): Model to use. Base 'gpt-4' model by
name (Literal["gpt-4", "gpt-4-0314", "gpt-4-32k", "gpt-4-32k-0314"]): Model to use. Base 'gpt-4' model by
default.
RETURNS (Callable[[Iterable[str]], Iterable[str]]]): OpenAI instance for 'gpt-4' model
Expand Down

0 comments on commit f5ceda6

Please sign in to comment.