Skip to content

Commit

Permalink
📝 Docs(custom): add Groq API key application link to README files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuingsmile committed Jul 16, 2024
1 parent 23e16d8 commit 37a2695
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Word GPT Plus is a word add-in which integrates the chatGPT model into Microsoft
- Ollama2
- Google PALM2 API
- Google Gemini Pro API
- Groq
- Support for multiple languages
- Custom prompts can be set and saved for future use
- Ability for users to set temperature and max tokens
Expand Down Expand Up @@ -51,6 +52,8 @@ You need to go to [Google AI](https://developers.generativeai.google/) to apply

Google Gemini Pro API's api key is the same as Google PALM2 API's api key, and the free version is currently limited to 60 requests per minute.

Groq's api key can be applied for at [https://console.groq.com/keys](https://console.groq.com/keys).

## Getting Started

There are two ways to install Word GPT Plus: through my free hosting service, or by self-hosting it.
Expand Down
3 changes: 3 additions & 0 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Word GPT Plus 是一个集成了 chatGPT 模型的 Word 插件。它允许你基
- Ollama2
- Google PALM2 API
- Google Gemini Pro API
- Groq
- 支持多种语言
- 可以自定义提示并保存以供将来使用
- 允许用户设置temperature和max tokens
Expand Down Expand Up @@ -51,6 +52,8 @@ Google PALM2 API需要前往[Google AI](https://developers.generativeai.google/)

Google Gemini Pro API的api key与Google PALM2 API的api key相同,目前免费版限制次数一分钟60个请求。

Groq的api key可以在[https://console.groq.com/keys](https://console.groq.com/keys)申请。

## 快速开始

有两种方法可以安装 Word GPT Plus:通过我的免费web服务,或者自己搭建服务。
Expand Down
2 changes: 1 addition & 1 deletion src/utils/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export const buildInPrompt = {
text: string,
language: string
) => `Please analyze the following text for a wide range of grammatical aspects and provide corrections. Be thorough in identifying and fixing any grammatical mistakes, including checking for correct punctuation usage, ensuring proper sentence structure, enhancing readability, identifying and correcting spelling mistakes, and verifying subject-verb agreement. Your assistance in ensuring the grammatical accuracy of the text is highly appreciated. Please be thorough in your examination, and provide comprehensive corrections to enhance the overall grammatical integrity of the text.
Highlight the changed parts.
Just reply to user input with the correct grammar, DO NOT reply to the context of the question of the user input. If the user input is grammatically correct and fluent, just reply “sounds good”.
Respond in ${language}. Please begin by editing the following text: ${text}`
}
Expand Down

0 comments on commit 37a2695

Please sign in to comment.