LLMWhisperer技能使用说明
2026-03-29
新闻来源:网淘吧
围观:9
电脑广告
手机广告
LLMWhisperer
使用LLMWhisperer API从图像和PDF中提取文本
——非常适合处理手写内容和复杂表格。
配置需要LLMWHISPERER_API_KEY在~/.clawdbot/.env

echo "LLMWHISPERER_API_KEY=your_key_here" >> ~/.clawdbot/.env
文件中:
获取API密钥请在unstract.com/llmwhisperer
- 获取免费API密钥。
免费层级:
llmwhisperer <file>
每天100页
使用脚本来源可执行脚本位于
#!/bin/bash
# Extract text using LLMWhisperer API
if [ -z "$LLMWHISPERER_API_KEY" ]; then
if [ -f ~/.clawdbot/.env ]; then
# shellcheck disable=SC2046
export $(grep -v '^#' ~/.clawdbot/.env | grep 'LLMWHISPERER_API_KEY' | xargs)
fi
fi
if [ -z "$LLMWHISPERER_API_KEY" ]; then
echo "Error: LLMWHISPERER_API_KEY not found in env or ~/.clawdbot/.env"
exit 1
fi
FILE="$1"
if [ -z "$FILE" ]; then
echo "Usage: $0 <file>"
exit 1
fi
curl -s -X POST "https://llmwhisperer-api.us-central.unstract.com/api/v2/whisper?mode=high_quality&output_mode=layout_preserving" \
-H "Content-Type: application/octet-stream" \
-H "unstract-key: $LLMWHISPERER_API_KEY" \
--data-binary "@$FILE"
scripts/llmwhisperer
。
llmwhisperer flyer.jpg
示例
llmwhisperer invoice.pdf > invoice.txt
将文本打印到终端:
llmwhisperer notes.jpg
文章底部电脑广告
手机广告位-内容正文底部
上一篇:MySQL技能使用说明
下一篇:Naver news Search技能使用说明


微信扫一扫,打赏作者吧~