class documentation

class OpenAiPromptModel(ExposedModel, VersionedModel): (source)

View In Hierarchy

Undocumented

Async Method model_version Undocumented
Async Method needed_entities Undocumented
Async Method needed_features Undocumented
Method prompt_template_hash Undocumented
Async Method run_polars Undocumented
Method with_contract Undocumented
Class Variable config Undocumented
Class Variable model Undocumented
Class Variable model_type Undocumented
Class Variable prompt_template Undocumented
Instance Variable feature_refs Undocumented
Instance Variable output_name Undocumented
Property as_markdown Undocumented
Property base_url Undocumented
Property exposed_at_url Undocumented
async def model_version(self) -> str: (source)
async def needed_entities(self, store: ModelFeatureStore) -> set[Feature]: (source)

Undocumented

async def needed_features(self, store: ModelFeatureStore) -> list[FeatureReference]: (source)

Undocumented

def prompt_template_hash(self) -> str: (source)

Undocumented

async def run_polars(self, values: RetrievalJob, store: ModelFeatureStore) -> pl.DataFrame: (source)

Undocumented

def with_contract(self, model: Model) -> ExposedModel: (source)

Undocumented

Undocumented

Undocumented

model_type: str = (source)

Undocumented

prompt_template: str = (source)

Undocumented

feature_refs: list[FeatureReference] = (source)

Undocumented

output_name: str = (source)

Undocumented

@property
as_markdown: str = (source)

Undocumented

Undocumented

@property
exposed_at_url: str | None = (source)

Undocumented