mefengl

Results 28 comments of mefengl

Hey, I reimplemented it in userscript, so that it can be used in Safari by Tampermonkey extension. https://greasyfork.org/scripts/471560

expose an API that can be called from Shortcuts will be great, so that can be integrated with Siri and other automation

I use some method that seems too tricky: add some sleep in this function https://github.com/hwchase17/langchain/blob/b7747017d72eaeabfa65edb7eec413d3fd006ddb/langchain/embeddings/openai.py#LL72-L76C87

@dartpain probably not fix, see https://github.com/arc53/DocsGPT/pull/85 copy from that pull request: >I don't know why there needs to be a store.index = None, but I got an error when continuing...

also, add `alias tfr='terraform refresh'`

Here's another workaround: ``` const d = new DOMParser().parseFromString(document.documentElement.outerHTML, 'text/html'); ``` Compared to `document.body.cloneNode`, there may be some performance loss, but it will include nodes outside the body, such as...

chatgpt 只是在后台询问,所以是不想要多余的自动询问吗? 实际上现在划线菜单里的每一个都会自动询问,我的想法是只要对某段文字进行了特殊操作,就有问问 chatgpt 的必要(可能这样的阈值太低了?) 这个请求是合理的,我想可能可以添加一个设置菜单,如果打开的话,就添加主动请求的按钮,同时关闭其它按钮的被动触发

实际上我都有考虑去除被动触发的功能了,的确自己也不怎么看 chatgpt 的回答。 但如果是主动触发,就没有这样的问题了我想。(同时自定义 prompt 应该也是很有必要的) 但又不想在这个脚本里做上这么复杂的逻辑,而且让划线菜单变得更加复杂也是很不情愿的,可能会新开一个脚本? 在修改这个问题之前,可以先在菜单里可以关闭自动询问,如果觉得有打扰的话

> 可以单独设置几个prompt模板(比如只允许设置4个不同的提问模板) > > 可以在侧边上加4个按钮,不放到划线菜单,这样选中文本点一下自动提问,因为从网页效果来看,边上两边其实有很大的空白 这个想法蛮不错的

”puppeteer is an optional peer dependency used to automate `bypassing the Cloudflare protections via getOpenAIAuth`. The main API wrapper uses fetch directly.” from https://github.com/transitive-bullshit/chatgpt-api#install I am trying it, by the...