メインコンテンツまでスキップ

FunctionChainStage

A FunctionChainStage instance is one execution stage where a function chain can run.

VALUES:

  • UNSPECIFIED

    The stage is not specified.

  • INGESTION

    The chain runs during data ingestion.

  • PRE_PROCESS

    The chain runs before the main query or search process.

  • L0_RERANK

    The chain runs at the first reranking stage.

  • L1_RERANK

    The chain runs at the second reranking stage.

  • L2_RERANK

    The chain runs at the third reranking stage.

  • POST_PROCESS

    The chain runs after the main query or search process.

Examples​

python
from pymilvus import FunctionChain, FunctionChainStage

chain = FunctionChain(
FunctionChainStage.L2_RERANK,
name="rerank",
)
このページは役に立ちましたか?