featzhang commented on code in PR #27490: URL: https://github.com/apache/flink/pull/27490#discussion_r2744376739
########## 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: Triton ≠ OpenAI in terms of authentication. The current implementation already supports authentication via headers (see the `auth-token` example below), which should cover tokens, API keys, and other mechanisms. So adding a dedicated `api-key` option does not seem necessary. -- 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]
