TypeSafe AI 推出 Jev 每周新 cookbook
you too can learn to Jev the way @allietheicon Jevs!
TypeSafe AI 发帖宣传可学习 @allietheicon 使用 Jev 的方法,并称每周都会更新 cookbook。被引用的帖子介绍了 Jev 的一种常用模式“line-by-line search”:把整份文档放进 state,逐行或逐段提问,适合为查询找出最相关的一行;预期只有一个主要答案时用 nouls,想按整体相关性高亮各行时用 scores。
查看原帖我最喜欢的 Jev 模式之一是“逐行搜索”,即把整份文档放进 state,然后对每一行(或每一段)提问。当你想为某个查询找出最相关的一行时,这非常有用。 当你预期只有一个主要答案时使用 nouls,当你想按整体相关性高亮各行时使用 scores。前者适合回答某个具体问题,后者适合找出所有相关段落。
查看原文
One of my favorite Jev patterns is "line-by-line search", where you put an entire document in state, and ask a question for each line (or paragraph). This is super useful when you want to find the most relevant line for a query. Use nouls when you expect one dominate answer, use scores when you want to highlight lines by overall relevance. The former is good for answering a specific question while the latter is good for finding all relevant passages.
正文
you too can learn to Jev the way @allietheicon Jevs!
new cookbooks hot & fresh every week.