CodeGeeX4/web_demo/README_zh.md
2024-07-05 09:33:53 +08:00

33 lines
642 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

![](../resources/logo.jpeg)
[English](README.md) | [中文](README_zh.md)
## 联网功能
CodeGeeX4支持联网搜索问答通过调用Bing API获取搜索结果可获取最新资讯。
## 使用教程
### 1. 安装依赖项
```bash
pip install -r requirements.txt
```
### 2. 配置Bing API Key
在`backend/apis/bing.py`中配置`BING_API_KEY`
详情可参考 [必应搜索API](https://learn.microsoft.com/zh-cn/previous-versions/azure/cognitive-services/Bing-Web-Search/bing-api-comparison)
### 3. 运行项目
```bash
python main.py
>>> Running on local URL: http://127.0.0.1:8080
```
## Demo
![](resources/demo_zh.png)