Git Product home page Git Product logo

bob-plugin-claude-translator's Introduction

简体中文 | English

Claude Translator Bob Plugin

release GitHub Repo stars GitHub Repo stars GitHub Repo stars

简介

基于 Anthropic Complete API 实现的 Bob 插件。拥有翻译、润色的功能。

润色功能

支持使用 Claude API 对句子进行润色和语法修改,只需要把目标语言设置为与源语言一样即可。

语言模型

  • claude-v1.3 (默认使用): claude-v1 旧版本,效果稳定
  • claude-instant-1: claude 最新版 instant 模型
  • claude-2: claude 最新版模型

使用方法

  1. 安装 Bob (版本 >= 0.50),一款 macOS 平台的翻译和 OCR 软件

  2. 下载此插件: claude-translator.bobplugin

  3. 安装此插件

  4. Claude 获取你的 API KEY

  5. 把 API KEY 填入 Bob 偏好设置 > 服务 > 此插件配置界面的 API KEY 的输入框中

  6. (可选) 安装 PopClip 实现划词后鼠标附近出现悬浮图标

感谢

本仓库是在 yetone 优秀的 bob-plugin-openai-translator 源码基础上对 Claude API 所做的适配,感谢原作者的卓越贡献。

bob-plugin-claude-translator's People

Contributors

jaydaniel avatar jtsang4 avatar liby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bob-plugin-claude-translator's Issues

能换成claude的官方logo么,这个logo太丑了

Search before asking

  • issues 中没有找到类似的内容。I searched in the issues and found nothing similar.

Feature

我找到一个logo下载链接:https://www.iconfont.cn/search/index?searchType=icon&q=claude

描述 Motivation

更好看了,更有下载欲望

Solution

可以用这个logo,链接:https://www.iconfont.cn/search/index?searchType=icon&q=claude

还有其他内容吗?Anything else?

你是否愿意提交一份 PR?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

翻译结果内容

Search before asking

  • issues 中没有找到类似的内容。I searched in the issues and found nothing similar.

Feature

翻译结果取消

描述 Motivation

image

翻译结果,为啥会有符号包裹?可否考虑去掉?

Instant

Solution

No response

还有其他内容吗?Anything else?

No response

你是否愿意提交一份 PR?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

Claude 3 pls

Search before asking

  • issues 中没有找到类似的内容。I searched in the issues and found nothing similar.

Feature

Anthropic launched Claude 3

描述 Motivation

https://www.anthropic.com/news/claude-3-family

Solution

No response

还有其他内容吗?Anything else?

No response

你是否愿意提交一份 PR?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

是否可以自定义prompt

Search before asking

  • issues 中没有找到类似的内容。I searched in the issues and found nothing similar.

Feature

prompt自定义

描述 Motivation

自定义用于翻译的prompt

Solution

No response

还有其他内容吗?Anything else?

No response

你是否愿意提交一份 PR?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

Claude API 无端消耗

Please search before asking

  • I searched in the issues and found nothing similar.

Please read README

  • I have read the usage instructions section in README in detail.

Please check your network

  • I am sure it is not a network issue.

Claude Translator Bob Plugin version

v0.4.0

系统版本 | System version

macOS 13.4 (22F66)

Bob version

Bob 1.8.1 [143]

复现步骤 | Reproduce step

我昨天停用了Bob Claude插件的使用,停用前截图Claude后台Logs的API使用情况,第二天打开发现API还是消耗了,与截图不同。

你看到了什么错误?What errors do you see?

我昨天停用了Bob Claude插件的使用,停用前截图Claude后台Logs的API使用情况,第二天打开发现API还是消耗了,与截图不同。

你期望看到什么?What did you expect to see?

期待知道原因是什么?

还有其他的内容吗?Anything else?

No response

你是否愿意提交一份 PR 来修改这个错误?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

Support Haiku

Search before asking

  • issues 中没有找到类似的内容。I searched in the issues and found nothing similar.

Feature

Support Claude Haiku Model

描述 Motivation

CleanShot 2024-03-10 at 23 02 42@2x Haiku is cheaper for translation, so maybe you can add to options.

Solution

No response

还有其他内容吗?Anything else?

No response

你是否愿意提交一份 PR?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

能否支持Claude 2

Search before asking

  • issues 中没有找到类似的内容。I searched in the issues and found nothing similar.

Feature

Claude 2已经推出并支持API使用,此插件能否支持?

描述 Motivation

使用Claude 2 API完成翻译、润色等任务,Claude 2介绍:https://www.anthropic.com/index/claude-2

Solution

No response

还有其他内容吗?Anything else?

No response

你是否愿意提交一份 PR?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

[Bug] {{长内容偶发性出现json截断}}

Please search before asking

  • I searched in the issues and found nothing similar.

Please read README

  • I have read the usage instructions section in README in detail.

Please check your network

  • I am sure it is not a network issue.

Claude Translator Bob Plugin version

v0.4.0

系统版本 | System version

macos14

Bob version

v1.8

复现步骤 | Reproduce step

对长文档进行翻译时,偶发性的出现json解析错误的bug,如下图。

你看到了什么错误?What errors do you see?

消息截断
3b928af299f632bb02562065dd576a7e
0f6c892b5ea2d074a5e59860f0905d50

你期望看到什么?What did you expect to see?

正常输出内容

还有其他的内容吗?Anything else?

No response

你是否愿意提交一份 PR 来修改这个错误?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

能否考虑通过翻译原文窗口支持连续对话功能

Search before asking

  • issues 中没有找到类似的内容。I searched in the issues and found nothing similar.

Feature

翻译窗口实现连续对话

描述 Motivation

如题

Solution

如题

还有其他内容吗?Anything else?

你是否愿意提交一份 PR?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.