Using Textual with Snowpark Container Services directly
Add images to the repository
Create the Textual service
DROP SERVICE IF EXISTS textual;
CREATE SERVICE textual
IN COMPUTE POOL textual_api_pool
FROM SPECIFICATION $$
spec:
containers:
- name: textual
image: your_image_repository_url/textual-snowflake:latest
env:
SOLAR_SECRET: your_encryption_string
SOLAR_ROBERTA_URL: https://textual-roberta-service:8801
ENVIRONMENT_NAME: your_environment_name
endpoints:
- name: textual
port: 9002
$$
QUERY_WAREHOUSE='TEXTUAL'
MIN_INSTANCES=1
MAX_INSTANCES=1;Create the Roberta service
Without model-based custom entity types
With model-based custom entity types
Obtain the volume UID and GID
Creating the service with the volume mount
Create functions
Example usage
Message
Redacted
Synthesized
Last updated
Was this helpful?