Skip to content

Commit

Permalink
Add Model and APIModel types
Browse files Browse the repository at this point in the history
  • Loading branch information
rlouf committed Nov 29, 2024
1 parent c2fb5cb commit 94b5699
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions outlines/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@
from .vllm import VLLM, vllm

LogitsGenerator = Union[Transformers, LlamaCpp, OpenAI, ExLlamaV2Model, MLXLM, VLLM]

Model = LlamaCpp
APIModel = Union[AzureOpenAI, OpenAI, Anthropic, Gemini]

0 comments on commit 94b5699

Please sign in to comment.