Commit Graph

16 Commits (71f2e94579511d7524f5534377001ab3f02a9597)

Author SHA1 Message Date
sigoden 571d1022f6
refactor: rename some client structs and methods (#555)
* rename `Completeion*` to `ChatCompletions*`

* rename `send_message*` to `chat_completions*`

* rename `request_builder` to `chat_completions_builder`

* rename `build_body` to `build_chat_completions_body`

* rename `extract_completion` to `extract_chat_completions`

* format

* remove unused config fields
4 months ago
sigoden 54a837784c
refactor: rename `SendData` to `CompletionData` (#553) 4 months ago
sigoden b4a40e3fed
feat: support function calling (#514)
* feat: support function calling

* fix on Windows OS

* implement multi-steps function calling

* fix on Windows OS

* add error for client not support function calling

* refactor message data structure and make claude client supporting function calling

* support reuse previous call results

* improve error handling for function calling

* use prefix `may_`  as indicator for `execute` type fucntions
4 months ago
sigoden 369cf9a36a refactor: minor refinement 5 months ago
sigoden 79d0bba640
feat: allow binding model to the role (#505) 5 months ago
sigoden 84fab36a1f
refactor: split /data.json into /v1/models and /v1/roles (#494) 5 months ago
sigoden 7762cd6bed
refactor: model pass_max_tokens (#493) 5 months ago
sigoden 85ad276a29
feat: support playground/arena webui (#487) 5 months ago
sigoden b6957ae3af
refactor: improve serve (#477) 5 months ago
sigoden 8a65337d59
feat: add `.set max_output_tokens` (#468) 5 months ago
sigoden 37a0cd08a9
refactor: rename some structs (#457) 5 months ago
sigoden 865be2bf75
feat: non-streaming returns completion stats (#456) 5 months ago
sigoden b33e2da75e
refactor: improve serve responses (#455) 5 months ago
sigoden 6e73d25bfe refactor: change default address for api serveing 5 months ago
sigoden a17f349daa
feat: support customizing `top_p` parameter (#434) 5 months ago
sigoden 0a4c0413ef
feat: serve all LLMs as OpenAI-compatible API (#431) 5 months ago