Skip to content

Commit

Permalink
New docs landing page (#1781)
Browse files Browse the repository at this point in the history
* Docs cleanup

* New landing page
  • Loading branch information
okhat authored Nov 10, 2024
1 parent d0d04a4 commit f83bff7
Show file tree
Hide file tree
Showing 6 changed files with 355 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/docs/building-blocks/1-language_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Let's first make sure you can set up your language model. DSPy supports clients
## Using `dspy.LM`

!!! warning
Earlier versions of DSPy involved tons of clients for different LM providers, e.g. `dspy.OpenAI`, `dspy.GoogleVertexAI`, and `dspy.HFClientTGI`, etc. These are now deprecated and will be removed in DSPy 2.6.
Earlier versions of DSPy involved different clients across LM providers, e.g. `dspy.OpenAI`, `dspy.GoogleVertexAI`, and `dspy.HFClientTGI`, etc. These are now deprecated and will be removed in DSPy 2.6.

Instead, use `dspy.LM` to access any LM endpoint for local and remote models. This relies on [LiteLLM](https://github.com/BerriAI/litellm) to translate the different client APIs into an OpenAI-compatible interface.

Expand Down
Loading

0 comments on commit f83bff7

Please sign in to comment.