schema_output.txt 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. Table info for model_configs:
  2. [
  3. {
  4. "cid": 0,
  5. "name": "id",
  6. "type": "varchar",
  7. "notnull": 1,
  8. "dflt_value": null,
  9. "pk": 1
  10. },
  11. {
  12. "cid": 1,
  13. "name": "name",
  14. "type": "TEXT",
  15. "notnull": 1,
  16. "dflt_value": null,
  17. "pk": 0
  18. },
  19. {
  20. "cid": 2,
  21. "name": "modelId",
  22. "type": "TEXT",
  23. "notnull": 1,
  24. "dflt_value": null,
  25. "pk": 0
  26. },
  27. {
  28. "cid": 3,
  29. "name": "baseUrl",
  30. "type": "TEXT",
  31. "notnull": 0,
  32. "dflt_value": null,
  33. "pk": 0
  34. },
  35. {
  36. "cid": 4,
  37. "name": "apiKey",
  38. "type": "TEXT",
  39. "notnull": 0,
  40. "dflt_value": null,
  41. "pk": 0
  42. },
  43. {
  44. "cid": 5,
  45. "name": "type",
  46. "type": "TEXT",
  47. "notnull": 1,
  48. "dflt_value": null,
  49. "pk": 0
  50. },
  51. {
  52. "cid": 6,
  53. "name": "dimensions",
  54. "type": "INTEGER",
  55. "notnull": 0,
  56. "dflt_value": null,
  57. "pk": 0
  58. },
  59. {
  60. "cid": 7,
  61. "name": "maxInputTokens",
  62. "type": "INTEGER",
  63. "notnull": 0,
  64. "dflt_value": "8191",
  65. "pk": 0
  66. },
  67. {
  68. "cid": 8,
  69. "name": "maxBatchSize",
  70. "type": "INTEGER",
  71. "notnull": 0,
  72. "dflt_value": "2048",
  73. "pk": 0
  74. },
  75. {
  76. "cid": 9,
  77. "name": "isVectorModel",
  78. "type": "boolean",
  79. "notnull": 1,
  80. "dflt_value": "0",
  81. "pk": 0
  82. },
  83. {
  84. "cid": 10,
  85. "name": "isEnabled",
  86. "type": "boolean",
  87. "notnull": 1,
  88. "dflt_value": "1",
  89. "pk": 0
  90. },
  91. {
  92. "cid": 11,
  93. "name": "providerName",
  94. "type": "TEXT",
  95. "notnull": 0,
  96. "dflt_value": null,
  97. "pk": 0
  98. },
  99. {
  100. "cid": 12,
  101. "name": "userId",
  102. "type": "varchar",
  103. "notnull": 0,
  104. "dflt_value": null,
  105. "pk": 0
  106. },
  107. {
  108. "cid": 13,
  109. "name": "created_at",
  110. "type": "datetime",
  111. "notnull": 1,
  112. "dflt_value": "datetime('now')",
  113. "pk": 0
  114. },
  115. {
  116. "cid": 14,
  117. "name": "updated_at",
  118. "type": "datetime",
  119. "notnull": 1,
  120. "dflt_value": "datetime('now')",
  121. "pk": 0
  122. },
  123. {
  124. "cid": 15,
  125. "name": "isDefault",
  126. "type": "boolean",
  127. "notnull": 1,
  128. "dflt_value": "0",
  129. "pk": 0
  130. },
  131. {
  132. "cid": 16,
  133. "name": "tenant_id",
  134. "type": "TEXT",
  135. "notnull": 0,
  136. "dflt_value": null,
  137. "pk": 0
  138. }
  139. ]
  140. Sample data:
  141. [
  142. {
  143. "id": "b32b4766-4a09-42b7-963a-45451d9125fc",
  144. "name": "qwen-plus",
  145. "modelId": "qwen-plus",
  146. "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  147. "apiKey": "sk-4246c72ef248462d9d9df6f03d404db7",
  148. "type": "llm",
  149. "dimensions": 1536,
  150. "maxInputTokens": 8191,
  151. "maxBatchSize": 2048,
  152. "isVectorModel": 0,
  153. "isEnabled": 1,
  154. "providerName": null,
  155. "userId": "569f329a-2b0a-41b7-98d0-0d5837052bd4",
  156. "created_at": "2026-03-01 11:44:26",
  157. "updated_at": "2026-03-02 02:59:05",
  158. "isDefault": 0,
  159. "tenant_id": "00000000-0000-0000-0000-000000000000"
  160. },
  161. {
  162. "id": "ba088d6e-eb0e-4282-a06b-1d111cb04404",
  163. "name": "qwen3-vl-plus",
  164. "modelId": "qwen3-vl-plus",
  165. "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  166. "apiKey": "sk-4246c72ef248462d9d9df6f03d404db7",
  167. "type": "vision",
  168. "dimensions": 1536,
  169. "maxInputTokens": 8191,
  170. "maxBatchSize": 2048,
  171. "isVectorModel": 0,
  172. "isEnabled": 1,
  173. "providerName": null,
  174. "userId": "569f329a-2b0a-41b7-98d0-0d5837052bd4",
  175. "created_at": "2026-03-02 02:59:41",
  176. "updated_at": "2026-03-02 02:59:41",
  177. "isDefault": 0,
  178. "tenant_id": "00000000-0000-0000-0000-000000000000"
  179. },
  180. {
  181. "id": "1020eb5f-e36d-4010-9c52-78a5693b3a23",
  182. "name": "text-embedding-v4",
  183. "modelId": "text-embedding-v4",
  184. "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  185. "apiKey": "sk-4246c72ef248462d9d9df6f03d404db7",
  186. "type": "embedding",
  187. "dimensions": 1024,
  188. "maxInputTokens": 8191,
  189. "maxBatchSize": 2048,
  190. "isVectorModel": 0,
  191. "isEnabled": 1,
  192. "providerName": null,
  193. "userId": "569f329a-2b0a-41b7-98d0-0d5837052bd4",
  194. "created_at": "2026-03-02 03:00:13",
  195. "updated_at": "2026-03-04 12:36:03",
  196. "isDefault": 0,
  197. "tenant_id": "00000000-0000-0000-0000-000000000000"
  198. },
  199. {
  200. "id": "f4262505-4d62-4b86-98be-49b13ac69f93",
  201. "name": "qwen3-rerank",
  202. "modelId": "qwen3-rerank",
  203. "baseUrl": "https://dashscope.aliyuncs.com/compatible-api/v1/reranks",
  204. "apiKey": "sk-4246c72ef248462d9d9df6f03d404db7",
  205. "type": "rerank",
  206. "dimensions": 1536,
  207. "maxInputTokens": 8191,
  208. "maxBatchSize": 2048,
  209. "isVectorModel": 0,
  210. "isEnabled": 1,
  211. "providerName": null,
  212. "userId": "569f329a-2b0a-41b7-98d0-0d5837052bd4",
  213. "created_at": "2026-03-02 03:00:42",
  214. "updated_at": "2026-03-02 03:01:04",
  215. "isDefault": 0,
  216. "tenant_id": "00000000-0000-0000-0000-000000000000"
  217. }
  218. ]