feat: add WeChat media analysis adapters
This commit is contained in:
@@ -13,6 +13,7 @@ const INTENT_RULES = [
|
||||
|
||||
export function resolveIntent(msgType, text) {
|
||||
if (msgType === 'image') return { task: 'image_analysis' };
|
||||
if (msgType === 'file') return { task: 'file_analysis' };
|
||||
if (msgType === 'voice') return { task: 'voice_analysis' };
|
||||
if (msgType === 'location') return { task: 'location' };
|
||||
if (msgType === 'link') return { task: 'link' };
|
||||
|
||||
Reference in New Issue
Block a user