From 36f6656264cb055f2f43839c067cc298b22c19a0 Mon Sep 17 00:00:00 2001 From: TigeR0se <52808680+TigeR0se@users.noreply.github.com> Date: Wed, 26 Jun 2024 14:14:16 +0800 Subject: [PATCH] Update README.md Typo when copying Qwen api to Gemini api --- model_worker/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model_worker/README.md b/model_worker/README.md index f47825ac..e5af4288 100644 --- a/model_worker/README.md +++ b/model_worker/README.md @@ -16,7 +16,7 @@ pip install -U google-generativeai==0.7.0 "API_MODEL": "YOUR_MODEL" } ``` -NOTE: `API_MODEL` is the model name of QWen LLM API. +NOTE: `API_MODEL` is the model name of Gemini LLM API. You can find the model name in the [Gemini LLM model list](https://ai.google.dev/gemini-api). If you meet the `429 Resource has been exhausted (e.g. check quota).`, it may because the rate limit of your Gemini API. @@ -80,4 +80,4 @@ NOTE: `API_BASE` is the URL started in the Ollama LLM server and `API_MODEL` is } ``` -NOTE: You should create a new Python script .py in the ufo/llm folder like the format of the .py, which needs to inherit `BaseService` as the parent class, as well as the `__init__` and `chat_completion` methods. At the same time, you need to add the dynamic import of your file in the `get_service` method of `BaseService`. \ No newline at end of file +NOTE: You should create a new Python script .py in the ufo/llm folder like the format of the .py, which needs to inherit `BaseService` as the parent class, as well as the `__init__` and `chat_completion` methods. At the same time, you need to add the dynamic import of your file in the `get_service` method of `BaseService`.