Butui Hu
eda7ef50e0
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
2ffa4268fc
Continue fixing Ollama embedding return issue
2024-11-06 01:21:02 +00:00
HowieWood
5253a0e7b2
Modify ollama embed return fields
2024-11-05 20:12:51 +08:00
1808837298@qq.com
33af069fae
feat: realtime
...
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
HowieWood
e523555844
/api/embeddings is deprecated, use /api/embed.
...
/api/embeddings is deprecated, use /api/embed.
2024-11-04 22:03:41 +08:00
CalciumIon
0cbf8e07e7
feat: support ollama multi-text embedding
2024-09-12 18:29:45 +08:00
CalciumIon
2e3c266bd6
fix: response format
2024-08-07 15:43:01 +08:00
CalciumIon
88cc88c5d0
feat: support ollama tools
2024-07-27 17:51:05 +08:00
CalciumIon
e84300f4ae
chore: gopool
2024-07-19 01:07:37 +08:00
CalciumIon
bcc7f3edb2
refactor: audio relay
2024-07-16 22:07:10 +08:00
CalciumIon
e262a9bd2c
chore: openai stream
2024-07-15 22:07:50 +08:00
CalciumIon
0f687aab9a
fix: azure stream options
2024-07-15 16:05:30 +08:00
CalciumIon
b0e234e8f5
feat: support stream_options
2024-07-08 01:27:57 +08:00
CalciumIon
8af4e28f75
feat: support cohere rerank
2024-07-06 17:09:22 +08:00
CalciumIon
79010dbfc5
feat: 记录流模式首字时间 ( close #323 )
2024-06-26 18:04:49 +08:00
CaIon
2dbf50dc07
feat: 填入相关模型
2024-05-12 19:07:33 +08:00
CaIon
2841669246
feat: 完善函数计费
2024-04-23 23:01:06 +08:00
CaIon
6b97842f78
feat: 支持ollama embedding数组传参
2024-04-22 21:09:11 +08:00
CaIon
44a8ade4ba
fix: remove sensitive check on completion ( close #157 )
2024-03-29 22:20:14 +08:00
CaIon
8eedad9470
feat: support ollama embedding
2024-03-26 19:53:53 +08:00
CaIon
319e97d677
fix: ollama channel test
2024-03-26 19:27:11 +08:00
CaIon
c4b3d3a975
fix: fix embedding
2024-03-21 17:39:05 +08:00
CaIon
64b9d3b58c
feat: 初步兼容生成内容检查
2024-03-20 19:00:51 +08:00
CaIon
7a663d26ec
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
CaIon
c012306400
feat: add parameter top_k
2024-03-12 18:18:47 +08:00
CaIon
d53d3386e9
feat: support ollama ( close #112 )
2024-03-12 02:36:39 +08:00