注册并分享邀请链接,可获得视频播放与邀请奖励。

与「Message」相关的搜索结果

Message 贴吧
一个关键词就是一个贴吧,路径全站唯一。
创建贴吧
用户
未找到
包含 Message 的内容
Rodney and Domwoods believe MAXIMUM FEAR could be the biggest buying opportunity in crypto right now. They point out that when everyone on X starts acting like the market is over and sentiment hits rock bottom, that’s usually when people should be paying attention. Their message? Why wait until Bitcoin hits $150K or $200K to get bullish when the opportunity could be right in front of you? When everyone expects the market to go lower, Rodney and Domwoods think it could be time to go higher. 🚀 w/: @cryptojourneyrs x @domwoods
显示更多
A skill is basically a program for an LLM. We're thinking about orchestration as skills too: different message board setups for agents, run side by side, keep whatever works best. with @jamescalam and @micmakarov
显示更多
DeepSeek 官方说 deepseek-flash 能直接看图,三种传图方式,一次最多 600 张 建议收藏,用到时照着做。做完你能让 DeepSeek 读截图、看图表、描述图片。 这是 DeepSeek 官方 API 文档 Vision(视觉)一页。先说结论: 官方写明,deepseek-flash 模型可以文字加图片一起输入,用来描述图片、读截图里的字、分析图表。 先说清词。 Vision,视觉输入,意思是让模型看图。 base64,是把图片文件转成一长串文字,直接塞进请求里的编码方式。 file_id,是先把图片传到官方的 Files API(文件接口),拿回来的一个编号,之后用编号代替图片。 先把话说全: 官方支持的图片格式是 JPEG、PNG、GIF、WebP,官方说格式按文件真实内容判断,不看文件名。 官方写明,assistant(模型自己的)消息里放图片,会返回 400 错误;图片只能放在 user、system、tool 消息里。 一、三种传图方式 第一种:base64 内联。官方说最适合本地文件,把图片编码后做成 data: 开头的地址放进请求,整个请求体上限是 48 MiB。 第二种:外部图片链接。给一个公开的 http 或 https 地址,官方限制:链接最长 8192 个字符,图片最大 32 MiB,下载要在 60 秒内完成。 第三种:Files API 的 file_id。官方说同一张图要反复用,或者图太大,就先上传再用编号。这种方式图片可以到 64 MiB。 二、请求怎么写 第一步:model 写 deepseek-flash。官方说旧名字 deepseek-v4-flash-vision-exp 还能用,但已经退役,实际由最新的 Flash 模型处理。 第二步:messages 里 content 不再是一句话,而是一个列表,里面一块是 text 文字,一块是 image_url 图片。 第三步:Responses API 也能传图,图片放在 input_image 里,文字放在 input_text 里。 三、detail 清晰度开关 官方写明,image_url 可以加 detail 字段。low 会把图缩到 512×512 再看,更快更便宜;high、original、auto 目前都是保持原图。 四、费用和上限 官方说图片按尺寸换算成 token,和文字一起计费。每张图最多 1024 个 token,因为太大的图会先被缩到约 1300×1300 的像素量。 官方给的上限:每次请求最多 600 张图;单边最长 8192 像素,一次放 15 张以上时降到 4096 像素;不含 file_id 的图合计 64 MiB,含 file_id 最多 200 MiB。 五、用 Anthropic 接口也行 官方说把 base_url 写成 image 块,source 的 type 可以是 base64、url 或 file。用 file 时要加请求头 anthropic-beta: files-api-2025-04-14。 常见坑 3 条: 一、把图片放进 assistant 消息,会直接报 400。二、外链图片超过 32 MiB 或 60 秒下不完,就改用 file_id。三、一次放 15 张以上,单边别超过 4096 像素。 复制即用的提示词:请描述这张图片,列出图里所有文字,再用三句话总结它想说明什么。 收藏版:5 步速查 一、model 写 deepseek-flash。二、选 base64、链接或 file_id 传图。三、content 写成文字块加图片块。四、格式用 JPEG、PNG、GIF、WebP。五、别把图放进 assistant 消息。 S1哥 观点:官方把每张图封顶 1024 个 token,说明传图比很多人想的便宜,截图问答可以放心大量用。 一句话结论:DeepSeek 读图,认准 deepseek-flash,小图用 base64,大图或重复用 file_id。想让朋友少踩坑,复制链接发给他。 你是想让它读截图还是看图表?卡在第几步?同系列前几篇在我主页。 参考:DeepSeek 官方文档 Vision(S1哥 整理) 今天送:DeepSeek 看图请求自检清单,评论区第一条直接拿。
显示更多
Grok Bot has been such a force multiplier for me. It’s insane. It provides you with a team of experts, and you get a totally customizable assistant. It replaces tools like search. It enhances applications like a CRM. It works on every device, so you can now do real work from your phone, then pick it up on your laptop or desktop. I often have 3 to 5 bots working on things simultaneously. If you have not tried it, use it for one month. It will blow you away. If already love it, share this message. Everyone that I get to use Grok Bot has become a total fan and feels the same way. I know the team, and they are working relentlessly around the clock to make the product do everything and anything that you need.
显示更多
0
8
90
16
转发到社区
建议收藏,用到时照着做。做完你能让 DeepSeek 自己决定“要不要调用你写的函数”,并把结果用人话讲回来。 AI 能查天气、查订单,是它自己去查的吗?DeepSeek 官方一句话拆台:模型本身不执行任何函数 这是 DeepSeek 官方 API 文档里 Tool Calls(工具调用)一页。先说结论: 官方原话是,函数要由你自己提供,模型本身不执行具体函数。它只负责说“我想调这个函数、参数是这些”,真正去跑的是你的代码。 先说清词。 工具调用(Tool Calls),是让模型能用外部工具的功能,比如查天气、查数据库。 函数(function),是你自己写好的一段代码,模型只会“点名”它。 tool_call_id(工具调用编号),是模型每次点名时附带的一个号码,你回传结果时要带上它,模型才知道你在回答哪一次。 strict 模式(严格模式,Beta 测试版),是让模型点名时严格按你定义的格式填参数。 一个真实例子:官方示例问“杭州天气怎么样”,模型返回的是 get_weather 这个函数和参数 location 等于杭州,你的代码去查到“24℃”,再交给模型,模型才说“杭州现在 24 度”。 先把话说全: 官方示例用的是非思考模式,请求里加 extra_body 把 thinking 的 type 设成 disabled。 官方写明:从 DeepSeek-V3.2 开始,思考模式下也能用工具调用,细节看官方 Thinking Mode 一页。 官方写明:Chat Completion 接口不支持在对话中间插入不是模型生成的工具调用,要插的话请改用 Anthropic API 或 Responses API。 strict 模式目前是 Beta,要用测试版地址。 一、先看懂整个流程 官方给的执行流程是四步:用户问杭州天气;模型返回要调用 get_weather,参数是杭州;你的代码真的去调用 get_weather,把结果交给模型;模型用自然语言回答“杭州现在 24 度”。 二、照官方示例做一遍 第一步:去 DeepSeek 开放平台拿一个 API key,电脑装好 Python 和 openai 库。 第二步:创建客户端,base_url 写 DeepSeek 官方接口地址(官方文档第一屏就有),api_key 填你的。 第三步:写 tools 清单。每个工具包含 type 等于 function,再写 name(函数名)、description(描述,告诉模型什么时候用)、parameters(参数)。官方示例的函数叫 get_weather,描述是“获取某地天气,用户须先提供地点”,参数 location 是字符串,并且在 required 里。 第四步:发第一次请求,model 官方示例写 deepseek-flash,把 messages 和 tools 一起传,并加上 thinking 关闭的设置。 第五步:从返回里取 tool_calls 的第一项,先把模型这条消息原样追加进 messages。 第六步:你的代码去执行函数,再追加一条 role 是 tool 的消息,带上刚才的 tool_call_id,content 写结果,官方示例写的是 24℃。 第七步:再发一次请求,这次模型就会用自然语言回答。 三、想要更稳:strict 严格模式 第八步:base_url 改成官方文档里写明的 beta 版接口地址(就是原地址后面加 /beta)。 第九步:每个 function 都加上 strict 等于 true。 第十步:服务器会检查你的 JSON Schema(结构说明),格式不合规或用了不支持的类型,会直接返回错误信息。 官方支持的类型是:object、string、number、integer、boolean、array、enum、anyOf,另外 $ref 和 $def 可以复用和做递归。 四、strict 的硬规矩 对象里所有属性都必须写进 required,并且 additionalProperties 必须设成 false。 字符串可以用 pattern(正则)和 format,官方列出的格式有 email、hostname、ipv4、ipv6、uuid,但不支持 minLength 和 maxLength。 数字支持 const、default、minimum、maximum、exclusiveMinimum、exclusiveMaximum、multipleOf。 数组不支持 minItems 和 maxItems。 五、看到什么算成功 第一次返回的是函数点名,不是答案;第二次返回的才是自然语言答案,内容里有你的函数结果。 六、卡住怎么办 strict 报错:先检查是不是漏写 required 或忘了 additionalProperties 设 false,再检查有没有用到 minLength、maxItems 这类官方不支持的写法。 结论:工具调用不是模型替你干活,而是模型“点名”、你的代码“动手”。想让点名更准,就用 strict。把这条复制链接发给他,下次他说 AI 查不到东西,先让他确认函数是不是自己写了。 你卡在第几步?评论区告诉我。同系列前几篇在我主页。 收藏版:5 步速查 一、tools 里写清函数名、描述、参数 二、第一次请求拿到 tool_calls 三、自己执行函数,回传 role 为 tool 的消息并带 tool_call_id 四、第二次请求拿到自然语言答案 五、想更稳就用 beta 地址加 strict 等于 true 常见坑 3 条 一、以为模型会自己执行函数,其实要你的代码去跑。 二、回传结果忘了带 tool_call_id。 三、strict 里漏了 required 或 additionalProperties 设成 false。 复制即用提示词:我想让模型调用一个叫 你的函数名 的函数,它需要这些参数:写参数。请帮我写出符合 DeepSeek Tool Calls 格式的 tools 清单,每个参数都写 description,并改成 strict 模式需要的写法。 S1哥观点:这篇最狠的地方,是官方把话挑明了:模型不执行函数,只负责点名。很多人以为 AI 在后台自己动手,其实动手的永远是你的代码。 真正的信号是:工具调用的难点不在模型,在你把函数描述写得多清楚。就像派活给新人,说明写得含糊,他再聪明也会点错人。 你现在想让 DeepSeek 调用的是什么,查数据还是发消息?评论区告诉我。 今天送:DeepSeek 工具调用速查卡,评论区第一条直接拿。 参考:DeepSeek 官方 API 文档 Tool Calls(S1哥 整理)
显示更多
🚨 URGENT : menace d'enlèvement en France, besoin de la commu crypto FR J'ai reçu une info sérieuse : des personnes prévoient d'enlever, dans les prochaines heures, le propriétaire du wallet Ethereum wooooooow.eth 0x5231E31C3ca39DD94fF56beCB662Ea50bC4Da7D1 On ne connaît ni son nom ni sa ville. Impossible de le prévenir directement. Les autorités sont en train d'être alertées. Si tu connais cette personne, ou si tu reconnais ce nom ENS (Discord, DeFi, Convex, Aave, staking), préviens-la tout de suite en privé : • rester dans un endroit sûr • ne pas ouvrir à des inconnus • appeler le 17 ou le 112 À toi, propriétaire de wooooooow.eth : ce n'est pas une arnaque. Aucun lien, aucun DM, aucun argent demandé. Protège-toi et contacte la police maintenant. Merci de RT pour que le message arrive jusqu'à lui. @PoliceNationale @Gendarmerie @prefpolice @PowerHasheur @CryptoastMedia @coinacademy_fr @Ledger @zachxbt
显示更多
0
20
168
45
转发到社区
Anthropic just published an engineering guide on how to build always-on agents. The biggest misconception: an always-on agent does NOT run 24/7. It sleeps almost all day, wakes up for short runs, saves state, and goes back to sleep. The 5 core pieces I distilled: 1. Event Inbox Put a database table between webhooks and your agent. Acknowledge webhooks fast, run only one active worker per user so runs never collide, and batch rapid messages together. 2. Timers Keep timers in a separate table from the inbox. Split them into one-off follow-ups and recurring schedules. A background poller drops due timers into the inbox. 3. Lean Memory + Dreaming Only store what cannot be looked up again: user instructions, user notes, past messages, and task progress. Load a small index at wakeup, not every file. Run periodic dreaming passes to clean out stale facts. 4. Unattended Permissions Never put raw API keys inside the agent sandbox — inject them through an outside proxy. Use Deferred Tool Calls to pause risky actions for approval without blocking the worker. 5. Outbox Queue outgoing replies so your agent paces notifications instead of spamming users at 3 AM.
显示更多
0
43
2.1K
102
转发到社区
Re alleged RCE in new TG Android/Windows widgets: The issue doesn’t exist. No one could be hacked just by receiving a message. You had to start a 3rd party service first. Even that is fully patched server-side. Think otherwise? Go hack my account: 🍿
显示更多
0
273
2.1K
131
转发到社区
It took two weeks to end the career of the most successful Asian American in history. Jensen washed dishes at Denny‘s as a teenager, and by this year he was running the world’s most valuable company. This week a lot of Asian people on my timeline decided that story is over. That no matter how high you climb, a face like ours gets a different set of rules at the top. After Elizabeth Holmes, female founders spent years getting asked some version of “how do we know you’re not the next Holmes?“ One woman‘s fraud turned into a question every woman had to answer. I’m Chinese Canadian, I grew up in Vancouver, and now I live in the Bay Area. I already know what my version of that question is going to be and it‘s pathetic. Jensen was born in Taiwan and spent over thirty years building an American company. The second the word ”China“ landed next to his name, none of that counted. This country has done this before. In 1882 it banned Chinese immigrants. In 1942 it locked up 120,000 Japanese Americans, most of them citizens. In 1982 two Detroit autoworkers who blamed Japan for their jobs beat Vincent Chin to death with a baseball bat. He was Chinese. His killers never spent a day in prison. Yellow peril never checked which Asian you were, and that’s a big part of why “Asian American“ became one word. If they were going to lump us together anyway, we might as well stand together. Now look at Jensen‘s timeline. Oct 29, the spy story breaks. The next day Singapore’s government says it never said what the Wall Street Journal claimed. Nov 8, he admits an affair. Nov 12, he‘s gone. The spy part is still unproven. Two weeks start to finish, right before what could be the biggest IPO in AI. You can call that a coincidence. I don’t buy it. Meanwhile the powerful people who raped CHILDREN in the Epstein files are mostly still living their best life Jensen had an affair with an adult woman. That’s the only thing of what‘s actually been proven. So what exactly did Jensen do that was worse than them? Nothing. He was the best, he was Asian, and he was on the wrong side of the political fight. He did everything right. He built the company America needed most and showed up to every dinner in Washington. On Sunday night the president himself stood up for him and called him “an honorable guy.” It didn’t matter. By Thursday he was gone. If you can take down the president‘s favorite CEO in four days while the president is defending him, think about who that message was really for. They’ll use you for thirty years and still never count you as one of them. That’s what a political weapon is. You’re a tool while you’re useful. When the game gets serious, you’re the knife. And when it’s over, nobody comes back for the knife. Jensen was the best one they had. That's exactly why he made such a good "kitchenware".
显示更多
0
30
192
30
转发到社区
TAÏWAN : L'ÎLE QUI DONNE L'INSOMNIE À LA CHINE Hier, Xi Jinping a fait un discours qui a fait le tour du monde. Je te décrypte son discours, phrase par phrase. LE DISCOURS D'HIER : CE QU'IL A DIT, ET CE QU'IL A VOULU DIRE Xi n'a pas choisi hier par hasard. Hier, c'était les 160 ans de Sun Yat-sen. Sun Yat-sen, c'est le seul héros que les deux Chines adorent. Le père de la Chine moderne, celui qui a renversé l'empereur en 1911. En parlant ce jour-là, Xi envoie un message à Taïwan : "On a le même père. On est la même famille." Il a dit 3 choses : 1. "La réunification complète de la patrie doit se réaliser, et elle se réalisera." Il ne dit pas "j'espère". Il dit "ça VA arriver". C'est une promesse à son peuple. C'est lui qui dit : "Je serai celui qui finit le travail." 2. "Nous voulons une réunification pacifique, un pays, deux systèmes." C'est le modèle de Hong Kong. Tu gardes ton économie, mais Pékin décide. Taïwan a répondu le même jour : "Ni le gouvernement ni le peuple ne peuvent accepter ça." 3. "On ne laissera jamais aucun espace à l'indépendance de Taïwan." Il ne dit pas "on va vous envahir". Il dit "on ne vous laissera pas partir". Et surtout, pour la première fois depuis longtemps, il n'a PAS parlé de guerre. Pourquoi ? Parce que Xi est coincé. Et c'est là qu'on comprend l'insomnie. 1. L'INSOMNIE DE L'HISTOIRE : "On n'a jamais fini la guerre" En Chine, on apprend que la Chine est une civilisation de 5000 ans, unie, continue. Taïwan casse ce récit. En 1949, Mao gagne le continent, mais il ne prend jamais Taïwan. Chiang Kai-shek fuit là-bas avec 2 millions de personnes. Depuis 75 ans, il y a deux Chines. Tant que Taïwan existe, la révolution n'est pas terminée. C'est comme un livre avec la dernière page arrachée. Mao voulait finir le livre. Deng voulait finir le livre. Xi veut être celui qui le finit. Quand il dit "mission historique inachevable", ce n'est pas une phrase politique. C'est une angoisse personnelle. Un dirigeant qui veut entrer dans l'histoire. Mais il ne peut pas le faire demain matin. Parce que... 2. L'INSOMNIE DES PUCES : "Sans Taïwan, on est aveugles" Voilà pourquoi Xi parle de paix hier. La Chine veut faire de l'IA, des voitures électriques, des missiles, des satellites. Tout ça a besoin des puces les plus avancées du monde. Et ces puces, elles sont fabriquées à 90% à Taïwan, par TSMC. La Chine a mis 150 milliards pour fabriquer ses propres puces. Elle est encore 5 à 7 ans en retard. Si Xi envahit Taïwan demain, il détruit les usines qu'il veut récupérer. Une usine de puces bombardée ne vaut plus rien. Et il déclenche des sanctions qui tueraient son économie. Donc il ne peut pas envahir. Mais il ne peut pas non plus abandonner. C'est pour ça que l'affaire Jensen Huang a fait si mal cette semaine. Jensen Huang, né à Taïwan, patron de Nvidia, qui dépend de TSMC, qui tombe pour un soupçon d'espionnage pour la Chine... C'est tout le problème en une seule personne : la Chine a besoin des puces de Taïwan, mais elle ne contrôle pas Taïwan. 3. L'INSOMNIE DE L'AMÉRIQUE : "Si on perd Taïwan, on perd l'Asie" Regarde une carte : Japon, Corée du Sud, Taïwan, Philippines. C'est une chaîne qui bloque la Chine. Sa marine ne peut pas sortir dans le Pacifique sans passer par là. Si la Chine prend Taïwan, elle casse la chaîne. Elle a un accès direct au Pacifique. Les USA le savent. C'est pour ça qu'ils vendent des armes à Taïwan depuis 1979, sans la reconnaître officiellement. On appelle ça "l'ambiguïté stratégique" : on ne dit pas qu'on va défendre Taïwan, on ne dit pas qu'on ne va pas la défendre. On laisse Pékin dans le doute. Et c'est ce doute qui empêche la guerre. Et qui empêche le sommeil. C'est aussi pour ça que Xi a parlé de paix hier. C'est ça, la stratégie chinoise : "Gagner sans combattre", comme disait Sun Tzu. Mettre tellement de pression, tellement longtemps, que l'autre finit par céder sans un seul coup de feu. Est-ce que ça va marcher ? Personne ne le sait.
显示更多
0
136
614
54
转发到社区