Releases: MuiseDestiny/zotero-gpt
Releases · MuiseDestiny/zotero-gpt
1.4.2: 修复AskPDF报错
Update README.md
1.4.0
- AskPDF 创建向量会存在很多噪声,现将短段落合并,以传达更多有效信息给GPT
1.3.8
- 修复某些命令标签报错
以下为命令标签匹配代码的逻辑
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
Update README.md
1.2.3
1.2.0
Update README.md
0.8.4: 自定义embeddings模型
0.8.2: 支持Ollama平台的大语言模型,如llama3
0.8.0: 适配最新beta
Update README.md
适配最新beta
- 修复标签空白