featzhang commented on code in PR #27490: URL: https://github.com/apache/flink/pull/27490#discussion_r2744346115
########## docs/content/docs/dev/table/sql/create.md: ########## @@ -951,4 +951,19 @@ WITH ( ); ``` +```sql +CREATE MODEL triton_text_classifier +INPUT (input STRING COMMENT 'Input text for classification') +OUTPUT (output STRING COMMENT 'Classification result') +COMMENT 'A Triton-based text classification model' +WITH ( + 'provider' = 'triton', + 'endpoint' = 'http://localhost:8000/v2/models', + 'model-name' = 'text-classification', + 'model-version' = '1', + 'timeout' = '10000', Review Comment: Good point. The current implementation already supports authentication via custom HTTP headers. I agree that the example should be more explicit — I’ll update the SQL example to include a token (e.g. `Authorization` / `x-api-key`) to make this clearer, similar to the OpenAI case. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
