mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
f30dcc6359
Add GooseAI, CerebriumAI, Petals, ForefrontAI
589 B
589 B
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.
- Set the environment variable (
GOOSEAI_API_KEY
).
import os
os.environ["GOOSEAI_API_KEY"] = "YOUR_API_KEY"
Wrappers
LLM
There exists an GooseAI LLM wrapper, which you can access with:
from langchain.llms import GooseAI