Skip to content

Commit 7b5f75d

Browse files
update readme
1 parent 2996164 commit 7b5f75d

File tree

2 files changed

+37
-9
lines changed

2 files changed

+37
-9
lines changed

README.md

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,20 @@
1111
💻 <a href="https://github.com/XGenerationLab/xiyan_mcp_server" >XiYan-mcp-server</a> |
1212
🌐 <a href="https://github.com/XGenerationLab/https://github.com/XGenerationLab/XiYan-SQL" >XiYan-SQL</a> |
1313
📖 <a href="https://arxiv.org/abs/2411.08599"> Arxiv</a> |
14-
📄 <a href="https://paperswithcode.com/paper/xiyan-sql-a-multi-generator-ensemble" >PapersWithCode</a> <br />
15-
<a href="https://smithery.ai/server/@XGenerationLab/xiyan_mcp_server"><img alt="Smithery Installs" src="https://smithery.ai/badge/@XGenerationLab/xiyan_mcp_server" height="20"/></a><br />
16-
<a href="https://github.com/XGenerationLab/xiyan_mcp_server" >English</a> | <a href="https://github.com/XGenerationLab/xiyan_mcp_server/blob/main/README_zh.md"> 中文 </a>
14+
📄 <a href="https://paperswithcode.com/paper/xiyan-sql-a-multi-generator-ensemble" >PapersWithCode</a>
15+
💻 <a href="https://huggingface.co/collections/XGenerationLab/xiyansql-models-67c9844307b49f87436808fc">HuggingFace</a> |
16+
🤖 <a href="https://modelscope.cn/collections/XiYanSQL-Models-4483337b614241" >ModelScope</a> |
17+
🌕 <a href="https://bailian.console.aliyun.com/xiyan">析言GBI</a>
18+
<br />
19+
<a href="https://pepy.tech/projects/xiyan-mcp-server"><img src="https://static.pepy.tech/badge/xiyan-mcp-server" alt="PyPI Downloads"></a>
20+
<a href="https://smithery.ai/server/@XGenerationLab/xiyan_mcp_server"><img alt="Smithery Installs" src="https://smithery.ai/badge/@XGenerationLab/xiyan_mcp_server" height="20"/></a>
21+
<a href="https://github.com/XGenerationLab/xiyan_mcp_server" target="_blank">
22+
<img src="https://img.shields.io/github/stars/XGenerationLab/xiyan_mcp_server?style=social" alt="GitHub stars" />
23+
</a>
24+
<br />
25+
<a href="https://github.com/XGenerationLab/xiyan_mcp_server" >English</a> | <a href="https://github.com/XGenerationLab/xiyan_mcp_server/blob/main/README_zh.md"> 中文 </a><br />
26+
<a href="https://github.com/XGenerationLab/xiyan_mcp_server/blob/main/imgs/dinggroup_out.png">Ding Group钉钉群</a>|
27+
<a href="https://weibo.com/u/2540915670" target="_blank">Follow me on Weibo</a>
1728
</p>
1829

1930

@@ -78,7 +89,7 @@ a default config file is provided in config_demo.yml which looks like this:
7889

7990
```yaml
8091
model:
81-
name: "pre-xiyan_multi_dialect_v3"
92+
name: "pre-xiyansql-qwencoder-32b"
8293
key: ""
8394
url: "https://poc-dashscope.aliyuncs.com/compatible-mode/v1"
8495

@@ -98,11 +109,11 @@ if you want to use the general LLMs, e.g. gpt3.5, you can directly config like t
98109
model:
99110
name: "gpt-3.5-turbo"
100111
key: "YOUR KEY "
101-
url: "https://api.openai.com/v1/chat/completions"
112+
url: "https://api.openai.com/v1"
102113
database:
103114
```
104115
105-
if you want to use Qwen from alibaba, e.g. Qwen-max,
116+
if you want to use Qwen from alibaba, e.g. Qwen-max, you can use following config.
106117
```yaml
107118
model:
108119
name: "qwen-max"
@@ -111,17 +122,27 @@ model:
111122
database:
112123
```
113124
#### Text-to-SQL SOTA model
114-
Last, we recommend the XiYanSQL-qwencoder-32B (https://github.com/XGenerationLab/XiYanSQL-QwenCoder), which is the SOTA model in text-to-sql.
125+
Last, we recommend the XiYanSQL-qwencoder-32B (https://github.com/XGenerationLab/XiYanSQL-QwenCoder), which is the SOTA model in text-to-sql, see [Bird benchmark](https://bird-bench.github.io/).
115126
We deployed the model on Alibaba Cloud DashScope, so you need to set the following environment variables:
116-
Contact us to get the ``key``. ( godot.lzl@alibaba-inc.com )
127+
Send me your email to get the ``key``. ( godot.lzl@alibaba-inc.com )
128+
In the email, please attach the following information:
129+
```yaml
130+
name: "YOUR NAME",
131+
email: "YOUR EMAIL",
132+
organization: "your college or Company or Organization"
133+
```
134+
We will send you a ``key`` according to your email. And you can fill the ``env`` in the yml file.
135+
117136
```yaml
118137
model:
119-
name: "pre-xiyan_multi_dialect_v3"
138+
name: "pre-xiyansql-qwencoder-32b"
120139
key: "KEY"
121140
url: "https://poc-dashscope.aliyuncs.com/compatible-mode/v1"
122141
database:
123142
```
124143
144+
Note: this model service is just for trial, if you need to use it in production, please contact us.
145+
125146
Alternatively, you can also deploy the model (XiYanSQL-qwencoder-32B) on your own server.
126147
127148
#### Local LLMs
@@ -161,6 +182,13 @@ Add this in your claude desktop config file
161182
}
162183
}
163184
```
185+
### Goose
186+
Add following command in the config.
187+
188+
```yaml
189+
env YML=path/to/yml python -m xiyan_mcp_server
190+
```
191+
164192

165193
## Citation
166194
If you find our work helpful, feel free to give us a cite.

imgs/dinggroup_out.png

96.8 KB
Loading

0 commit comments

Comments
 (0)