fix import errors in code examples

This commit is contained in:
Ty Dunn 2023-08-16 09:22:24 -07:00 • committed by GitHub
parent 1881be67ac
commit 456a9272f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,8 @@ config = ContinueConfig(
The Together API is a cloud platform for running large AI models. You can sign up [here](https://api.together.xyz/signup), copy your API key on the initial welcome screen, and then hit the play button on any model from the [Together Models list](https://docs.together.ai/docs/models-inference). Change the config file to look like this:
```python
from continuedev.src.continuedev.libs.llm.replicate import ReplicateLLM
from continuedev.src.continuedev.core.sdk import Models
from continuedev.src.continuedev.libs.llm.together import TogetherLLM
config = ContinueConfig(
...
@ -121,6 +122,7 @@ config = ContinueConfig(
Replicate is a great option for newly released language models or models that you've deployed through their platform. Sign up for an account [here](https://replicate.ai/), copy your API key, and then select any model from the [Replicate Streaming List](https://replicate.com/collections/streaming-language-models). Change the config file to look like this:
```python
from continuedev.src.continuedev.core.sdk import Models
from continuedev.src.continuedev.libs.llm.replicate import ReplicateLLM
config = ContinueConfig(