2 private links
The more words you use, the better} else { const sourceLangCode = query.detectFrom const targetLangCode = query.detectTo const sourceLangName = lang.getLangName(sourceLangCode) const targetLangName = lang.getLangName(targetLangCode) console.debug('sourceLang', sourceLangName) console.debug('targetLang', targetLangName) const toChinese = chineseLangCodes.indexOf(targetLangCode) >= 0 const targetLangConfig = getLangConfig(targetLangCode) const sourceLangConfig = getLangConfig(sourceLangCode) console.log('Source language is', sourceLangConfig) rolePrompt = targetLangConfig.rolePrompt switch (query.action.mode) { case null: case undefined: if ((query.action.rolePrompt ?? '').includes('${text}') || (query.action.commandPrompt ?? '').includes('${text}')) { contentPrompt = '' } else { contentPrompt = '"""' + query.text + '"""' } rolePrompt = (query.action.rolePrompt ?? '') .replace('${sourceLang}', sourceLangName) .replace('${targetLang}', targetLangName) .replace('${text}', query.text) commandPrompt = (query.action.commandPrompt ?? '') .replace('${sourceLang}', sourceLangName) .replace('${targetLang}', targetLangName) .replace('${text}', query.text) if (query.action.outputRenderingFormat) { commandPrompt +=
. Format: ${query.action.outputRenderingFormat}} break case 'translate': quoteProcessor = new QuoteProcessor() commandPrompt = targetLangConfig.genCommandPrompt( sourceLangConfig, quoteProcessor.quoteStart, quoteProcessor.quoteEnd ) contentPrompt =
${quoteProcessor.quoteStart}${query.text}${quoteProcessor.quoteEnd}if (query.text.length [...] Only polish the text between ${quoteProcessor.quoteStart} and ${quoteProcessor.quoteEnd}.
contentPrompt = ${quoteProcessor.quoteStart}${query.text}${quoteProcessor.quoteEnd}
break case 'summarize': rolePrompt = "You are a professional text summarizer, you can only summarize the text, don't interpret it." [...] (status)}, onMessage: (msg) => { let resp try { resp = JSON.parse(msg) // eslint-disable-next-line no-empty } catch { query.onFinish('stop') return } if (!conversationId) { conversationId = resp.conversation_id } const { finish_details: finishDetails } = resp.message if (finishDetails) { query.onFinish(finishDetails.type) return } const { content, author } = resp.message if (author.role === 'assistant') { const targetTxt = content.parts.join('') let textDelta = targetTxt.slice(length) if (quoteProcessor) { textDelta = quoteProcessor.processText(textDelta)} query.onMessage({ content: textDelta, role: '', isWordMode }) length = targetTxt.length }}, onError: (err) => { if (err instanceof Error) { query.onError(err.message) return } if (typeof err === 'string') { query.onError(err) return } if (typeof err === 'object') { const { detail } = err if (detail) { const { message } = detail if (message) { query.onError(ChatGPT Web: ${message}
) return }} query.onError(ChatGPT Web: ${JSON.stringify(err)}
) return } const { error } = err if (error instanceof Error) { query.onError(error.message) return } if (typeof error === 'object') { const { message } = error if (message) { query.onError(message) return }} query.onError('Unknown error')}, }) if (conversationId) { await fetcher(${utils.defaultChatGPTWebAPI}/conversation/${conversationId}
, { method: 'PATCH', headers, body: JSON.stringify({ is_visible: false }), })} } else { const url = urlJoin(settings.apiURL, settings.apiURLPath) await fetchSSE(url, { method: 'POST', headers, body: JSON.stringify(body), signal: query.signal, onMessage: (msg) => { let resp try { resp = JSON.parse(msg) // eslint-disable-next-line no-empty } catch { query.onFinish('stop') return } const { choices } = resp if (!choices || choices.length === 0) { return { error: 'No result' }} const { finish_reason: finishReason } = choices if (finishReason) { query.onFinish(finishReason) return } let targetTxt = '' if (!isChatAPI) { // It's used for Azure OpenAI Service's legacy parameters. targetTxt = choices.text if (quoteProcessor) { targetTxt = quoteProcessor.processText(targetTxt)} query.onMessage({ content: targetTxt, role: '', isWordMode })} else { const { content = '', role } = choices.delta targetTxt = content if (quoteProcessor) { targetTxt = quoteProcessor.processText(targetTxt)} query.onMessage({ content: targetTxt, role, isWordMode })} }, onError: (err) => { if (err instanceof Error) { query.onError(err.message) return } if (typeof err === 'string') { query.onError(err) return } if (typeof err === 'object') { const { detail } = err if (detail) { query.onError(detail) return }} const { error } = err if (error instanceof Error) { query.onError(error.message) return } if (typeof error === 'object') { const { message } = error if (message) { query.onError(message) return }} query.onError('Unknown error')}, })} }
Master, help us to awaken and enlighten. Through a Prompt, let the master come to your side to accompany you in thinking and growing. [...] Of course, I (GPT) can explain the commands in English: /help
: Lists all the commands, descriptions, and rules I recognize. [...] /role
: Lists all available master roles. [...] If you'd like a round table discussion involving multiple roles, you can list multiple roles after the command.
这绝对是我近期用过最丝滑的效率工具,一句话,操作指南生成器!做交互教程的小伙伴必备!
在PC页面上真实操作一遍,它可以自动记录所有的操作流程,并做相应的截图和注解文档。
目前,只能生成英文指南,翻译一下就行。相比手动截图和写文档,太省心了。
Tango instantly turns what you know into step-by-step guidance—no videos, meetings, or screen shares required.
Mem understands what you tell it and save to help you connect, organize, and remember the most important things in your life. Not when you have Mem to talk to. [...] Save notes, links, tweets, and more with ease, so that even when you forget something, Mem won't. Keep track of your day and create notes directly linked to your calendar with one click. [...] Use our AI-powered Smart Search or ask Mem a question to bring whatever you're looking for back to top-of-mind.
aliyun-gpushare scheduler
A Cloudflare worker script to proxy OpenAI‘s request to Azure OpenAI Service
Claims free games periodically on This will run node epic-games; node prime-gaming; node gog - if you only want to claim games for one of the stores, you can override the default command by appending e.g. [...] Data (including json files with claimed games, codes to redeem, screenshots) is stored in the Docker volume fgc. [...] When running the first time, you have to login for each store you want to claim games on. [...] Claiming the Amazon Games works out-of-the-box, however, for games on external stores you need to either link your account or redeem a key.
Unified Model Serving Framework
🏹 Scalable with powerful performance optimizations
abstraction scales model inference separately from your custom code and multi-core CPU utilization with automatic provisioning [...]
We strip out as much potentially sensitive information as possible, and we will never collect user code, model data, model names, or stack traces.
https://pypi.org/project/mathtranslate/ https://github.com/SUSYUSTC/MathTranslate/blob/main/LICENSE https://github.com/SUSYUSTC/MathTranslate This is a project to provide translation of scientific papers with heavy math symbols from any language to any language while keeping the math symbols unchanged. [...] The main work of this project is to translate LaTeX files based on Google Translate in plain text, and finally realize the translation of pdf. [...] To translate a single file: translate_tex input.tex -o output.tex will generate a translated tex file output.tex. To translate an arxiv project: translate_arxiv 2205.15510 will generate a translated tex project 2205.15510.zip.
An open-source software development tool to manage issues, sprints, and product roadmaps with peace of mind 🧘♀️. Plane is still in its early days, not everything will be perfect yet, and hiccups may happen. [...] Issue Planning and Tracking: Quickly create issues and add details using a powerful rich text editor that supports file uploads. [...] Issue Attachments: Collaborate effectively by attaching files to issues, making it easy for your team to find and share important project-related documents. [...] GitHub Sync: Streamline your planning process by syncing your GitHub issues with Plane.
以 Solana、Avalanche 为首的新兴公链,其代币在 2022 年的跌幅都很惊人,远超 Cardano、Litecoin、Ripple 等老一代公链,这其中的逻辑又是什么?三箭资本和 FTX 又与这两个代币的下跌存在什么联系? GBTC:Grayscale 发行的比特币信托,只用于被动地投资 BTC,使投资者能够以证券的形式获得 BTC 的敞口,同时规避了直接购买、储存和保管 BTC 的风险。 当时整个市场出现了几个天价的 VC deal:110 亿美金的 Alchemy、80 亿美金的 Starkware、40 亿美金的 Yuga Labs、10 亿美金的 Dune Analytics,还有 Sui 和 Aptos。 实际上,中国 VC 进入行业更晚,我们讨论的 VC 投资主要是以美国 VC 驱动的,中国 VC 已经退出主流竞争舞台,中国 VC 2022 年上半年甚至是下半年才刚开始觉得可以接美国 VC 的盘,开始想募 Web3 主题的基金。 [...] 💡 premium/discount:溢价/折价,假设灰度信托(Greyscale Trust)里有 100 个 BTC,BTC 市场价格是 1 万美元一个,而 GBTC 的交易价格对应 1.1 万美元一个 BTC,这时候 GBTC 相比 BTC 有 10% 的溢价;如果 GBTC 的交易价格对应 9000 美元一个 BTC,那么 GBTC 就有 10% 的折价。
Ruo Yu now streams the chat response word by word, just like ChatGPT. (May 26)
Book your demo and see how Run:ai can help your accelerate AI development and reduce costs https://www.run.ai/demo