Skip to main content

aip_sdk.EmbeddingComputeResult

aip_sdk.EmbeddingComputeResult(coordinates: pd.DataFrame, pipelines: tuple[EmbeddingPipeline, ...])

Coordinates and per-pipeline diagnostics from one compute() call.

Attributes

  • coordinates pd.DataFrame: Tidy frame with COORDINATE_COLUMNS, carrying only the pipelines that succeeded.
  • pipelines tuple[EmbeddingPipeline, ...]: Every configured pipeline, succeeded and failed alike, so a caller can see what a config actually produced.

aip_sdk.EmbeddingComputeResult.coordinates​

aip_sdk.EmbeddingComputeResult.coordinates: pd.DataFrame

No docstring is defined in the source.

aip_sdk.EmbeddingComputeResult.failed​

aip_sdk.EmbeddingComputeResult.failed: tuple[EmbeddingPipeline, ...]

Pipelines that produced no coordinates, each carrying its error.

aip_sdk.EmbeddingComputeResult.for_pipeline​

aip_sdk.EmbeddingComputeResult.for_pipeline(pipeline_id: str) -> pd.DataFrame

Return just pipeline_id's coordinates, indexed by position.

Parameters

  • pipeline_id str: A derived pipeline id, as listed by pipeline_ids.

Returns

  • pd.DataFrame: The subset of coordinates for that pipeline.

Raises

aip_sdk.EmbeddingComputeResult.pipeline_ids​

aip_sdk.EmbeddingComputeResult.pipeline_ids: tuple[str, ...]

Ids of the pipelines that produced coordinates.

aip_sdk.EmbeddingComputeResult.pipelines​

aip_sdk.EmbeddingComputeResult.pipelines: tuple[EmbeddingPipeline, ...]

No docstring is defined in the source.

aip_sdk.EmbeddingComputeResult.succeeded​

aip_sdk.EmbeddingComputeResult.succeeded: tuple[EmbeddingPipeline, ...]

Pipelines that produced coordinates.