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.4.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.4.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: enthusiast_model_openai-1.4.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.14.0-1017-azure

File hashes

Hashes for enthusiast_model_openai-1.4.0.tar.gz
Algorithm Hash digest
SHA256 158e30cee06d10b5d5b511bebdcd4cc0e3ae7be333930628c4c9398c36924c13
MD5 997abc7763a16c8292109193fade4b04
BLAKE2b-256 8a3913e959b27b5da179af6a94c8adfd71bd9008cfff6cfab9bda377706c1cda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for enthusiast_model_openai-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0c914af8c5088bb3f07ef0486372caeb64a786f65382d461f21255a22d9bb59
MD5 9d733209f6c981fa4d4133319af86e53
BLAKE2b-256 a4daf89e838b08aade10b70a85e2a05aebfcb88fe48d11e830e99e8c7ce462bd

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