Skip to main content

Fireworks

Configure Fireworks as a custom endpoint in IntelliAsk.

Fireworks AI serves a range of open models through an OpenAI-compatible API, used in IntelliAsk as a custom endpoint.

Get an API key

Create a key from the Fireworks API keys page. Add it to your .env file:

FIREWORKS_API_KEY=your-api-key

Configuration

Add the endpoint to the custom list under endpoints in your intelliask.yaml. If your file already has an endpoints.custom list, paste only the - name: entry into it, keeping the same indentation:

endpoints:
  custom:
    - name: "Fireworks"
      apiKey: "${FIREWORKS_API_KEY}"
      baseURL: "https://api.fireworks.ai/inference/v1"
      models:
        default: [
          "accounts/fireworks/models/mixtral-8x7b-instruct",
          ]
        fetch: true
      titleConvo: true
      titleModel: "accounts/fireworks/models/llama-v2-7b-chat"
      modelDisplayLabel: "Fireworks"
      dropParams: ["user"]

Notes

  • The API is strict for some models and may reject fields like user, so drop them with dropParams.

Last updated on