GooseAI
GooseAI makes deploying NLP services easier and more accessible.
GooseAIis a fully managed inference service delivered via API. With feature parity to other well known APIs,GooseAIdelivers a plug-and-play solution for serving open source language models at the industry's best economics by simply changing 2 lines in your code.
安装与设置
- 使用
pip install openai安装 Python SDK - 从这个链接获取你的 GooseAI API 密钥 这里。
- 设置环境变量 (
GOOSEAI_API_KEY)。
import os
os.environ["GOOSEAI_API_KEY"] = "YOUR_API_KEY"
LLMs
查看一个 使用示例。
from langchain_community.llms import GooseAI
API 参考:GooseAI