TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Prompting LLMs in Bash scripts

79 点作者 chilipepperhott3 个月前
<a href="https:&#x2F;&#x2F;github.com&#x2F;elijah-potter&#x2F;ofc">https:&#x2F;&#x2F;github.com&#x2F;elijah-potter&#x2F;ofc</a>

3 条评论

wunderwuzzi232 个月前
Beware of ANSI escape codes where the LLM might hijack your terminal, aka Terminal DiLLMa.<p><a href="https:&#x2F;&#x2F;embracethered.com&#x2F;blog&#x2F;posts&#x2F;2024&#x2F;terminal-dillmas-prompt-injection-ansi-sequences&#x2F;" rel="nofollow">https:&#x2F;&#x2F;embracethered.com&#x2F;blog&#x2F;posts&#x2F;2024&#x2F;terminal-dillmas-p...</a>
评论 #43241960 未加载
评论 #43237831 未加载
TheDong2 个月前
I feel like the incumbent for running llm prompts, including locally, on the cli is llm: <a href="https:&#x2F;&#x2F;github.com&#x2F;simonw&#x2F;llm?tab=readme-ov-file#installing-a-model-that-runs-on-your-own-machine">https:&#x2F;&#x2F;github.com&#x2F;simonw&#x2F;llm?tab=readme-ov-file#installing-...</a><p>How does this compare?
zoobab2 个月前
Did a similar curl script to ask questions to Llama3 hosted at Duckduckgo:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;zoobab&#x2F;curlduck">https:&#x2F;&#x2F;github.com&#x2F;zoobab&#x2F;curlduck</a>