Class: VibeSort::Providers::OpenAI

Inherits:
Base
  • Object
show all
Defined in:
lib/vibe_sort/providers/openai.rb

Overview

Adapter for the OpenAI Chat Completions API

Direct Known Subclasses

Groq, SpaceXAI

Constant Summary collapse

ENDPOINT =
"https://api.openai.com/v1/chat/completions"
DEFAULT_MODEL =
"gpt-4o-mini"

Constants inherited from Base

Base::SYSTEM_PROMPT

Instance Attribute Summary

Attributes inherited from Base

#config

Method Summary

Methods inherited from Base

#initialize, #perform

Constructor Details

This class inherits a constructor from VibeSort::Providers::Base