snowflake.core.cortex.inference_service.CortexInferenceServiceΒΆ
- class snowflake.core.cortex.inference_service.CortexInferenceService(root: Root)ΒΆ
Bases:
object
Represents the Snowflake Cortex Inference Service resource.
Methods
- complete(complete_request: CompleteRequest) SSEClient ΒΆ
Perform LLM text completion inference, similar to snowflake.cortex.Complete.
- Parameters:
complete_request (CompleteRequest) β LLM text completion request.
- complete_async(complete_request: CompleteRequest) PollingOperation[SSEClient] ΒΆ
An asynchronous version of
complete()
.Refer to
PollingOperation
for more information on asynchronous execution and the return type.