Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
请求聊天模型评估两段文本的语义相似度。
ai_similarity(input, other[, provider[, model]])
input
other
provider
model
[0, 1]
SELECT ai_similarity('A cat is sleeping.', 'A kitten is taking a nap.'); SELECT ai_similarity( input => 'A cat is sleeping.', other => 'A kitten is taking a nap.', provider => 'support_chat' );