Kuingsmile / word-GPT-Plus

Word GPT Plus is a word add-in which integrates the chatGPT model into Microsoft Word. Both official and web api is supported.
MIT License
629 stars 97 forks source link

[Bug]: ollama endpoint怎么填,怎么调用自己的olllama服务 #57

Closed WenyanZhao closed 1 month ago

WenyanZhao commented 1 month ago

前置阅读 | Pre-reading

服务类型 | Service Type

Official hosted service

系统信息 | System Information

Windows

Office 版本 | Office Version

office 2021

问题重现 | Bug reproduce

Dingtalk_20240529161135

Kuingsmile commented 1 month ago

https://github.com/ollama/ollama 参考ollama文档 一般是你部署地址的11434端口

WenyanZhao commented 1 month ago

https://github.com/ollama/ollama 参考ollama文档 一般是你部署地址的11434端口

endpoint我填写的就是自己的ollama服务 例如:http://IP:11434 但是不行呀,根本过去不去,调用报错信息如下 Dingtalk_20240530094156

Kuingsmile commented 1 month ago

Screenshot_2024_0530_135922.png

你这个地址为什么还有个3000端口

WenyanZhao commented 1 month ago

Screenshot_2024_0530_135922.png

你这个地址为什么还有个3000端口

10.56.0.210:3000是自己部署的前端服务,10.56.0.49:11413是ollama服务,所以很奇怪使用的时候居然是这样的地址

Kuingsmile commented 1 month ago

endpoint怎么填的

WenyanZhao commented 1 month ago

endpoint怎么填的

填http://10.56.0.49:11413 这个可以,但是显示403,报跨域错误,我本地使用postman是可以访问该IP的 image image