snowflake.core.cortex.chat_service.CortexChatServiceΒΆ
- class snowflake.core.cortex.chat_service.CortexChatService(root: Root)ΒΆ
Bases:
objectRepresents the collection operations of the Snowflake Cortex Chat Service resource.
Methods
- chat(chat_request: ChatRequest) SSEClientΒΆ
Perform chat service, similar to snowflake.cortex.Chat.
- Parameters:
chat_request (ChatRequest) β The chat request object to be sent to the chat service. Defined in ./_generated/models/chat_request.py
- chat_async(chat_request: ChatRequest) PollingOperation[SSEClient]ΒΆ
An asynchronous version of
chat().Refer to
PollingOperationfor more information on asynchronous execution and the return type.