Add Groq AI provider support

- Add groq-sdk dependency to backend
- Add groq_api_key and groq_model columns to users table
- Implement extractWithGroq, verifyWithGroq, verifyStockStatusWithGroq, arbitrateWithGroq functions
- Add Groq settings to backend routes with test endpoint
- Add Groq provider option to frontend Settings UI with model selection
- Support for llama-3.3-70b-versatile, llama-3.1-8b-instant, mixtral-8x7b-32768, gemma2-9b-it models

Resolves: #26

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
Federico Liva 2026-03-04 10:36:36 +01:00
parent 33b944588d
commit eeeb12bc71
10 changed files with 357 additions and 12 deletions

View file

@ -18,6 +18,7 @@
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"groq-sdk": "^0.5.0",
"jsonwebtoken": "^9.0.2",
"node-cron": "^3.0.3",
"openai": "^4.47.0",