goodfire 패키지를 통해 사용할 수 있습니다. 이 통합은 Goodfire SDK를 래핑한 것입니다.
Overview
Integration details
| Class | Package | Local | Serializable | JS support | Downloads | Version |
|---|---|---|---|---|---|---|
| ChatGoodfire | langchain-goodfire | ❌ | ❌ | ❌ |
Model features
| Tool calling | Structured output | JSON mode | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|---|---|
| ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ |
Setup
Goodfire 모델에 액세스하려면 Goodfire 계정을 생성하고, API key를 발급받고,langchain-goodfire 통합 패키지를 설치해야 합니다.
Credentials
Goodfire Settings로 이동하여 Goodfire에 가입하고 API key를 생성하세요. 완료한 후 GOODFIRE_API_KEY 환경 변수를 설정하세요.Installation
LangChain Goodfire 통합은langchain-goodfire 패키지에 있습니다:
Instantiation
이제 모델 객체를 인스턴스화하고 chat completion을 생성할 수 있습니다:Invocation
Goodfire 전용 기능
SAE features 및 variants와 같은 Goodfire 전용 기능을 사용하려면goodfire 패키지를 직접 사용할 수 있습니다.
API reference
모든 ChatGoodfire 기능과 구성에 대한 자세한 문서는 API reference를 참조하세요.Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.