mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
23 lines
589 B
Plaintext
23 lines
589 B
Plaintext
# GooseAI
|
|
|
|
This page covers how to use the GooseAI ecosystem within LangChain.
|
|
It is broken into two parts: installation and setup, and then references to specific GooseAI wrappers.
|
|
|
|
## Installation and Setup
|
|
- Install the Python SDK with `pip install openai`
|
|
- Get your GooseAI api key from this link [here](https://goose.ai/).
|
|
- Set the environment variable (`GOOSEAI_API_KEY`).
|
|
|
|
```python
|
|
import os
|
|
os.environ["GOOSEAI_API_KEY"] = "YOUR_API_KEY"
|
|
```
|
|
|
|
## Wrappers
|
|
|
|
### LLM
|
|
|
|
There exists an GooseAI LLM wrapper, which you can access with:
|
|
```python
|
|
from langchain.llms import GooseAI
|
|
``` |