Metadata-Version: 2.1
Name: nonebot-plugin-ollama
Version: 0.1.1
Summary: 通过ollama提供的接口， 将你的nonebot连接到本地部署的基于ollama框架的LLM模型。
Author-Email: MaStAr <2024381053@mails.szu.edu.cn>
License: MIT
Requires-Python: >=3.9
Requires-Dist: requests>=2.32.3
Requires-Dist: nb-cli>=1.4.2
Description-Content-Type: text/markdown

# 功能介绍
通过ollama提供的接口，
将你的nonebot连接到本地部署的基于ollama框架的LLM模型。

暂时只支持与单个模型进行纯文本聊天。

当前版本：v0.1

# 安装说明
### nb-cli
```shell
nb plugin install nonebot-plugin-ollama
```

# 配置项
```python
#config.py
class ScopedConfig:
    model: str = "qwen2.5:0.5b"    # 填写所要使用的模型名称
    url: str = "http://127.0.0.1:11434/"    # 填写ollma所在的地址，形如http://***/
    priority: int = 5    # 填写优先级，数字越小优先级越高，推荐设置为低优先
```

# 相关链接
nonebot: https://nonebot.dev/   
ollama: https://ollama.org.cn/

# 开源协议
MIT