Skip to content

PromptMixerDev/prompt-mixer-ai21-connector

Repository files navigation

AI21 Jurassic-2 Connector

This connector allows you to access AI21 Labs' Jurassic-2 language model from within Prompt Mixer.

Features

  • Send prompts to the Jurassic-2 language model and display responses
  • Supports text completion and text classification tasks
  • Configure timeouts, max tokens, temperature, and other settings
  • View usage statistics for your AI21 account

Getting Started

  1. Sign up for an API key at AI21 Labs
  2. Install this connector in Prompt Mixer:
    • Open the Connectors sidebar
    • Search for "AI21 Jurassic-2"
    • Install the connector
  3. Configure your API key:
    • Open the connector settings
    • Paste in your API key
  4. Start using the Jurassic-2 language model in your prompts

Usage

Once configured, you can access the Jurassic-2 language model by selecting "j2-ultra" from the models dropdown.

Contributing

Pull requests are welcome!

License

This project is licensed under the MIT license.