
Security News
/Company News
Socket Is Sponsoring Composer and Packagist
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.
@memberjunction/ai-fireworks
Advanced tools
MemberJunction AI provider for Fireworks AI inference platform. This package extends the OpenAI provider to work with Fireworks' OpenAI-compatible API, providing access to a variety of open-source and fine-tuned models with fast inference.
graph TD
A["FireworksLLM<br/>(Provider)"] -->|extends| B["OpenAILLM<br/>(@memberjunction/ai-openai)"]
B -->|extends| C["BaseLLM<br/>(@memberjunction/ai)"]
A -->|overrides base URL| D["Fireworks API<br/>(api.fireworks.ai/inference/v1)"]
C -->|registered via| E["@RegisterClass"]
style A fill:#7c5295,stroke:#563a6b,color:#fff
style B fill:#2d6a9f,stroke:#1a4971,color:#fff
style C fill:#2d6a9f,stroke:#1a4971,color:#fff
style D fill:#2d8659,stroke:#1a5c3a,color:#fff
style E fill:#b8762f,stroke:#8a5722,color:#fff
npm install @memberjunction/ai-fireworks
import { FireworksLLM } from '@memberjunction/ai-fireworks';
const llm = new FireworksLLM('your-fireworks-api-key');
const result = await llm.ChatCompletion({
model: 'accounts/fireworks/models/llama-v3p1-70b-instruct',
messages: [
{ role: 'user', content: 'What are the benefits of open-source AI models?' }
],
temperature: 0.7
});
if (result.success) {
console.log(result.data.choices[0].message.content);
}
FireworksLLM is a thin subclass of OpenAILLM that redirects API calls to Fireworks' endpoint at https://api.fireworks.ai/inference/v1. All chat, streaming, and parameter handling logic is inherited from the OpenAI provider.
Registered as FireworksLLM via @RegisterClass(BaseLLM, 'FireworksLLM').
@memberjunction/ai - Core AI abstractions@memberjunction/ai-openai - OpenAI provider (parent class)@memberjunction/global - Class registrationFAQs
MemberJunction Wrapper for Fireworks.ai AI Models
The npm package @memberjunction/ai-fireworks receives a total of 877 weekly downloads. As such, @memberjunction/ai-fireworks popularity was classified as not popular.
We found that @memberjunction/ai-fireworks demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.

Research
/Security News
Benign-looking npm packages split malicious functionality across a dependency chain that deploys a cross-platform RAT targeting Alibaba developers.

Research
/Security News
Two Joyfill npm beta releases contain an import-time implant that uses blockchain transactions to retrieve a remote-access trojan.