Commit Graph

26 Commits

Author SHA1 Message Date
Butui Hu
6e710f3210 Fix temperature not being set to 0 due to json omitempty
The issue was caused by the `omitempty` tag in the Go struct, which prevented the `temperature` field from being included in the JSON output when it was set to 0.

Signed-off-by: Butui Hu <hot123tea123@gmail.com>
2025-01-21 12:54:09 +08:00
HowieWood
0788a6c25f Continue fixing Ollama embedding return issue 2024-11-06 01:21:02 +00:00
HowieWood
9e550eab00 Modify ollama embed return fields 2024-11-05 20:12:51 +08:00
1808837298@qq.com
9e4133a890 feat: realtime
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
HowieWood
70eb30e9c7 /api/embeddings is deprecated, use /api/embed.
/api/embeddings is deprecated, use /api/embed.
2024-11-04 22:03:41 +08:00
CalciumIon
fffef91df5 feat: support ollama multi-text embedding 2024-09-12 18:29:45 +08:00
CalciumIon
5c1a127b1c fix: response format 2024-08-07 15:43:01 +08:00
CalciumIon
3a3f79f4b8 feat: support ollama tools 2024-07-27 17:51:05 +08:00
CalciumIon
d06018cd3f chore: gopool 2024-07-19 01:07:37 +08:00
CalciumIon
ee0e1c9736 refactor: audio relay 2024-07-16 22:07:10 +08:00
CalciumIon
22ed887350 chore: openai stream 2024-07-15 22:07:50 +08:00
CalciumIon
7b20b4ed3d fix: azure stream options 2024-07-15 16:05:30 +08:00
CalciumIon
22bc0bf773 feat: support stream_options 2024-07-08 01:27:57 +08:00
CalciumIon
c7ba4a245b feat: support cohere rerank 2024-07-06 17:09:22 +08:00
CalciumIon
6e92f1f2d1 feat: 记录流模式首字时间 (close #323) 2024-06-26 18:04:49 +08:00
CaIon
e355c24725 feat: 填入相关模型 2024-05-12 19:07:33 +08:00
CaIon
86ab64ec67 feat: 完善函数计费 2024-04-23 23:01:06 +08:00
CaIon
a8095ef020 feat: 支持ollama embedding数组传参 2024-04-22 21:09:11 +08:00
CaIon
54c18dc89e fix: remove sensitive check on completion (close #157) 2024-03-29 22:20:14 +08:00
CaIon
f47e80f7c1 feat: support ollama embedding 2024-03-26 19:53:53 +08:00
CaIon
ca600790b4 fix: ollama channel test 2024-03-26 19:27:11 +08:00
CaIon
1004e3a1d5 fix: fix embedding 2024-03-21 17:39:05 +08:00
CaIon
580f2894ac feat: 初步兼容生成内容检查 2024-03-20 19:00:51 +08:00
CaIon
14892a6582 feat: 初步兼容敏感词过滤 2024-03-20 17:07:42 +08:00
CaIon
1a0d4b20c6 feat: add parameter top_k 2024-03-12 18:18:47 +08:00
CaIon
c1537aad3c feat: support ollama (close #112) 2024-03-12 02:36:39 +08:00