text_evolve
FastAPI endpoint functions for invoking the TextEvolve suite of services.
Attributes
text_evolve_router
module-attribute
text_evolve_router = APIRouter(
prefix=format_path(RESOURCE_TEXT_EVOLVE),
tags=[RESOURCE_TEXT_EVOLVE],
responses=DEFAULT_HTTP_ERROR_RESPONSES,
)
Classes
Functions
evaluate
async
evaluate(
fastapi_request: Request,
request: EvaluateRequestV1,
job_pool: ThreadPoolExecutor = Depends(
job_pool_dependency
),
)
Scores the quality of generated responses