Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议完善配置文件的设置,运行更为简单一些。 #338

Closed
dadaoerv opened this issue Sep 15, 2023 · 3 comments
Closed

建议完善配置文件的设置,运行更为简单一些。 #338

dadaoerv opened this issue Sep 15, 2023 · 3 comments

Comments

@dadaoerv
Copy link

  1. 目前很多项目都支持使用one api这样的平台,整合azure,讯飞,百度,openai等的调用。使用上也很简单,本项目只需要调用one api的key和base url即可。那么小爱同学支持的大语言模型将更为广泛。小爱同学,你是谁?我是百度xxx,岂不是美哉。
  2. 建议建立一个统一的config文件,运行xiaoai.py这样去调用配置文件,上面的这些就可以实现了。而不用加命令--
@fxconfig
Copy link

自己改改就好了,就两三句代码的事情
dic = Config.read_from_file
config = Config(**dic)
miboy = MiGPT(config)
run~~~~~

@yihong0618
Copy link
Owner

我们研究下,谢谢

@superwiboy
Copy link

最近one api支持gemini API调用了

yihong0618 added a commit that referenced this issue Jan 7, 2024
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
yihong0618 added a commit that referenced this issue Jan 7, 2024
* feat: support gemini close #402 #412 #403 #338

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* fix: versions things

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* fix: lint

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants