Skip to content

Releases: MuiseDestiny/zotero-gpt

1.4.2: 修复AskPDF报错

29 Oct 10:12
0d1e00e
Compare
Choose a tag to compare

1.4.0

28 Oct 06:48
0d1e00e
Compare
Choose a tag to compare
  • AskPDF 创建向量会存在很多噪声,现将短段落合并,以传达更多有效信息给GPT

1.3.8

22 Oct 11:53
0d1e00e
Compare
Choose a tag to compare
  • 修复某些命令标签报错

以下为命令标签匹配代码的逻辑

const regexeStrArr = [
  "```j(?:ava)?s(?:cript)?\\n([\\s\\S]+?)\\n```",
  "<code>([\\s\\S]+?)<\\/code>",
  "\\$\\{([\\s\\S]+?)\\}\\$",
]
let rawResStringArr: [string, string][] = []
for (let regexStr of regexeStrArr) {
  for (let rawString of text.match(new RegExp(regexStr, "g"))! || []) {
    let codeString = rawString.match(new RegExp(regexStr))![1]
    try {
      ztoolkit.log(codeString)
      let resString = await window.eval(`${codeString}`)
      
      rawResStringArr.push([rawString, String(resString)])
    } catch (e: any) {
      Meet.Global.popupWin?.createLine({ text: e.message, type: "fail" })
      window.alert(e.message)
    }
  }
}

1.3.3

13 Oct 06:55
0d1e00e
Compare
Choose a tag to compare
Update README.md

1.2.3

23 Sep 02:56
0d1e00e
Compare
Choose a tag to compare
  • 重构设置界面,更容易理解

image

1.2.0

09 Sep 08:58
0d1e00e
Compare
Choose a tag to compare
Update README.md

0.8.4: 自定义embeddings模型

24 Apr 12:51
0d1e00e
Compare
Choose a tag to compare
Pre-release

image

image

支持的模型包括Ollama的:"mxbai-embed-large", "nomic-embed-text", "all-minilm"

Openai的所有。

0.8.2: 支持Ollama平台的大语言模型,如llama3

22 Apr 15:45
0d1e00e
Compare
Choose a tag to compare

all-minilm是必要的,实现类似openai的embedings api。另外安装一个大语言模型即可,比如llama3:8b

image

image

0.8.0: 适配最新beta

10 Apr 07:03
0d1e00e
Compare
Choose a tag to compare
Pre-release
Update README.md

适配最新beta

06 Feb 13:07
0d1e00e
Compare
Choose a tag to compare
适配最新beta Pre-release
Pre-release
  • 修复标签空白