Update LLM-Connections.md (#1181)

* Update LLM-Connections.md

* Update LLM-Connections.md

---------

Co-authored-by: João Moura <joaomdmoura@gmail.com>
This commit is contained in:
Sean
2024-09-07 00:31:09 -07:00
committed by GitHub
parent 1ac64b8852
commit 262637c3a4

View File

@@ -143,13 +143,12 @@ os.environ["OPENAI_MODEL_NAME"]='mistral-small'
from langchain_community.chat_models.solar import SolarChat from langchain_community.chat_models.solar import SolarChat
``` ```
```sh ```sh
os.environ["SOLAR_API_BASE"]='https://api.upstage.ai/v1/solar' os.environ[SOLAR_API_BASE]="https://api.upstage.ai/v1/solar"
os.environ["SOLAR_API_KEY"]='your-solar-api-key' os.environ[SOLAR_API_KEY]="your-solar-api-key"
```
# Free developer API key available here: https://console.upstage.ai/services/solar # Free developer API key available here: https://console.upstage.ai/services/solar
# Langchain Example: https://github.com/langchain-ai/langchain/pull/18556 # Langchain Example: https://github.com/langchain-ai/langchain/pull/18556
```
### Cohere ### Cohere
```python ```python