跳到正文
每分钟自动更新
  1. Simon Willison

    llm 0.37.3

    中文摘要

    发布:llm 0.37.3 一个针对LLM的错误修复版本,主要是为了解决该软件最新Homebrew包的问题。现在Homebrew提供了最新的SQLite 3.54.1版本,该版本包含一个修复程序,导致LLM的日志代码出现故障。简而言之:在SQLite 3.54.0中,以下SQL语句:select json_object('a', (select json_array(1))) 返回结果为:{"a":[1]} 但在3.54.1中,相同的查询返回结果为:{"a":"[1]"} 根据D. Richard Hipp的说法:这是一个错误修复。根据文档,(SELECT json_array(...)) 返回的是SQL文本,而不是JSON。因此,3.54.1的行为是正确的,而3.54.0是一个错误。解决方法如下:select json_object('a', json((select json_array(1)))) 标签:llm,webassembly,sqlite,generative-ai,ai,llms,d-richard-hipp

    英文原文

    Release: llm 0.37.3 A bug fix release for LLM , mainly to cover a problem with the most recent Homebrew package of the software. Homebrew now ships the latest SQLite, 3.54.1 , which includes a fix that broke LLM's logging code . Short version: in SQLite 3.54.0 the following SQL: select json_object('a', (select json_array(1))) Returns this: {"a":[1]} But in 3.54.1 the same query returns this: {"a":"[1]"} According to D. Richard Hipp : That was a bug fix. Per the documentation, (SELECT json_array(...)) returns SQL text, not JSON. Hence the 3.54.1 behavior is correct and 3.54.0 was a bug. The workaround looks like this: select json_object('a', json((select json_array(1)))) Tags: llm , webassembly , sqlite , generative-ai , ai , llms , d-richard-hipp

已经到底了