Skip to main content

A plugin for Enthusiast that provides an OpenAI connector.

Project description

OpenAI Models

This Enthusiast plugin enables OpenAI models for generating embeddings and LLMs.

Installation

Run the following command inside your application directory:

pip install enthusiast-model-openai

Configuration

Register the providers in your settings_override.py:

CATALOG_LANGUAGE_MODEL_PROVIDERS = [
    'enthusiast_model_openai.OpenAILanguageModelProvider',
]

CATALOG_EMBEDDING_PROVIDERS = [
    'enthusiast_model_openai.OpenAIEmbeddingProvider',
]

Set the required environment variable:

OPENAI_API_KEY=<your_openai_api_key>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enthusiast_model_openai-1.5.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

enthusiast_model_openai-1.5.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file enthusiast_model_openai-1.5.0.tar.gz.

File metadata

  • Download URL: enthusiast_model_openai-1.5.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1015-azure

File hashes

Hashes for enthusiast_model_openai-1.5.0.tar.gz
Algorithm Hash digest
SHA256 9a37d4170361f7d7e7ef6807539ac873db9bc0104308b4c211b89fdf1285f62a
MD5 78f4606c37472633eae19b8f09c2d28f
BLAKE2b-256 403f973f4c2f967a21101d31e4e66791d8f971e67b6d4492263bbf89659d0ea7

See more details on using hashes here.

File details

Details for the file enthusiast_model_openai-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for enthusiast_model_openai-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4debc3240803160c65a9fd963cce056830794496a5e043c59e888b84677ebd5c
MD5 1eb4fdcfef900d95c8dfee5a125f3aac
BLAKE2b-256 0d27001d2786ec8844958111269020d64b03a8ecb0b41b03e86735a396ddb593

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page