config.json.example 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "baseUrl": "http://localhost:3000",
  3. "database": {
  4. "type": "sqlite3",
  5. "sqlite3": {
  6. "fileMustExist": false,
  7. "filename": "app.db",
  8. "readonly": false,
  9. "timeout": 5000,
  10. "performance": {
  11. "foreignKeys": true,
  12. "journalMode": "wal",
  13. "synchronous": 1,
  14. "tempStore": "memory"
  15. }
  16. },
  17. "redis": {
  18. "host": "127.0.0.1",
  19. "port": 6379,
  20. "password": "",
  21. "db": 0
  22. }
  23. },
  24. "password": {
  25. "algorithm": "argon2id",
  26. "options": {
  27. "memoryCost": 61440,
  28. "timeCost": 3,
  29. "parallelism": 1
  30. }
  31. },
  32. "providers": [
  33. {
  34. "id": "bedrock",
  35. "type": "bedrock",
  36. "enabled": true,
  37. "region": "us-east-1",
  38. "credentials": {
  39. "accessKeyId": "YOUR_ACCESS_KEY",
  40. "secretAccessKey": "YOUR_SECRET_KEY"
  41. },
  42. "models": {
  43. "us.amazon.nova-micro-v1:0": "us.amazon.nova-micro-v1:0"
  44. }
  45. },
  46. {
  47. "id": "anthropic",
  48. "type": "anthropic",
  49. "enabled": true,
  50. "apiKey": "YOUR_ANTHROPIC_API_KEY",
  51. "models": {
  52. "claude-3-5-sonnet": "claude-3-5-sonnet-20241022"
  53. }
  54. },
  55. {
  56. "id": "local",
  57. "type": "openai-compatible",
  58. "enabled": false,
  59. "baseUrl": "http://localhost:11434/v1",
  60. "models": {
  61. "ministral-3-14b-32k": "ministral-3-14b-32k"
  62. }
  63. }
  64. ]
  65. }