Comments (7)
大兄弟,搞定能不能给个仓库,最近太忙,没时间写接口了🙏
这个:https://github.com/cloudherder/models_for_gpt_academic ,勉强能用。
from gpt_academic.
+1
from gpt_academic.
+1,急求ollama支持
from gpt_academic.
算了,求人不如求己。
from gpt_academic.
大兄弟,搞定能不能给个仓库,最近太忙,没时间写接口了🙏
from gpt_academic.
老哥,稳!+999赞
from gpt_academic.
before ollama start, run:
export OLLAMA_HOST="0.0.0.0:11434"
v37.4版本是可以直接支持的,改config的几个点即可:
config.py
API_KEY = "ollama-key"
LLM_MODEL = "one-api-qwen:14b(max_token=32768)"
API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "http://your_ip:11434/v1/chat/completions"}
AVAIL_LLM_MODELS = ["one-api-qwen:14b(max_token=32768)"]
CUSTOM_API_KEY_PATTERN = "ollama-key"
from gpt_academic.
Related Issues (20)
- [Bug]: 您的 API_KEY 不满足任何一种已知的密钥格式,请在config文件中修改API密钥之后再运行。 HOT 9
- [Feature]: 调整API_URL_REDIRECT = {}的位置减少第三方api问题
- [Bug]: Qwen-1_8B-Chat-Int8 调用失败。 HOT 1
- RuntimeError: OpenAI拒绝了请求 HOT 4
- 智谱API密钥配置不成功 HOT 1
- [Feature]: 支持一下ollama吧 HOT 2
- [Bug]: [Local Message] 受到bing限制,无法从bing获取信息!
- [Bug]: nougat: error: the following arguments are required: pdf HOT 3
- [Bug]: 配置报错 HOT 1
- [Bug]: qianfan官方接口在22日都更新了,现在连接都失败了 HOT 1
- [Bug]: [Local Message] Request timeout. Network error. Please check proxy settings in config.py.网络错误,检查代理服务器是否可用,以及代理设置的格式是否正确,格式须是[协议]://[地址]:[端口],缺一不可。 HOT 2
- 请问下修改代码什么地方可以让开启的服务监听指定的IP? HOT 2
- [Feature]: 请求支持调用Coze HOT 2
- [Feature]: 很多LLM都引入长文档解析,能不能添加这个功能?
- [Bug]: 使用 OpenAI 的 API 接口,但是在使用时却提示额度不足 HOT 1
- [Bug]: 出現錯誤, You exceeded your current quota. OpenAI以账户额度不足为由, 拒绝服务. HOT 3
- [Bug]: 每次打开都显示选择一种依赖安装方式 似乎每次都要重新装一次 HOT 1
- [Feature]: 用<本地Latex论文精细翻译(上传Latex项目)[需Latex]>插件进行翻译后,把中英文对照文本进行一一对应。
- [Bug]: Version of dependent package "gradio" cannnot be too high HOT 3
- [Feature]: 新手提问: 如何升级版本? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpt_academic.