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

Thank you for sharing, that’s great, #3

Open
vtayh opened this issue Jul 20, 2024 · 1 comment
Open

Thank you for sharing, that’s great, #3

vtayh opened this issue Jul 20, 2024 · 1 comment

Comments

@vtayh
Copy link

vtayh commented Jul 20, 2024

I have only used the MONGODB database. Is there any functional difference between it and your current database? Another problem is cost saving. OPENAI has recently released the 4o mini version. I think it is more suitable for use on TELEGRAM. How to make the robot automatically match the best model? Are there any such plans in the future? ty

@vladislav-bordiug
Copy link
Owner

  1. I only used the commands SELECT, UPDATE, INSERT, DELETE, their analogues are in MONGODB. You will just need to rewrite the 'db.py' file to use MONGODB instead of PostgreSQL.
  2. Yes, you are right. I updated line 23 with "gpt-4o-mini" in 'openaitools.py'. GPT-4o-mini is 25 times cheaper.

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

2 participants