# OpenAICompatibleAdaptor

UMLClass
Skill Seekers :: skill_seekers :: Adaptors :: OpenAICompatibleAdaptor

### Description

Base class for OpenAI-compatible LLM platform adaptors. Subclasses override platform constants: PLATFORM, PLATFORMNAME, DEFAULTAPIENDPOINT, DEFAULTMODEL, ENVVARNAME, PLATFORMURL. Provides shared formatskill_md, package, upload, enhance implementations.

### Generalized Elements

### Specialized Elements

### Attributes

Visibility | Name | Type | Description
--- | --- | --- | ---
public | PLATFORM | str |
public | PLATFORM_NAME | str |
public | DEFAULT_API_ENDPOINT | str |
public | DEFAULT_MODEL | str |
public | ENV_VAR_NAME | str |
public | PLATFORM_URL | str |

### Operations

Visibility | Name | Description
--- | --- | ---
public | format_skill_md() |
public | package() |
public | upload() |
public | validate_api_key() |
public | get_env_var_name() |
public | supports_enhancement() |
public | enhance() |
private | _read_reference_files() |
private | _build_enhancement_prompt() |

### Properties

Name | Value
--- | ---
name | OpenAICompatibleAdaptor
stereotype | null
visibility | public
isAbstract | true
isFinalSpecialization | false
isLeaf | false
isActive | false

### Relationships

### Owned Elements

### Diagrams