Commit Graph

92 Commits

Author SHA1 Message Date
Su YR
45363a2abb
fix: type_ == "literal" 2024-08-29 15:55:12 +08:00
Su YR
0525dd2bb5
feat: support Literal type in Tools 2024-08-28 15:16:56 +08:00
Peter De-Ath
025f0f390e refac: support list in json schema to pydantic 2024-08-27 21:42:22 +01:00
Peter De-Ath
b2e682e263 fix: stop system prompt being duplicated 2024-08-26 21:25:57 +01:00
Timothy J. Baek
58cf1be20c feat: config.json db migration 2024-08-25 16:52:36 +02:00
USIGLOBAL\daniel_tsai
89ebbed67b fix: DeprecationWarning for datetime.utcnow() by using datetime.now(UTC) 2024-08-22 15:12:40 +08:00
Michael Poluektov
9d7037b730 add pydantic model from json 2024-08-19 16:27:38 +01:00
Michael Poluektov
5edc211392 pass docstring to function 2024-08-19 16:27:21 +01:00
Michael Poluektov
a4a7d678f9 move tools utils to utils.tools 2024-08-19 10:53:12 +01:00
Timothy J. Baek
7c81509804 feat: merge responses 2024-08-18 20:59:59 +02:00
Timothy J. Baek
0ae6ca608c refac 2024-08-17 17:01:35 +02:00
Michael Poluektov
790bdcf9fc rename tool calling helpers to use 'tool' instead of 'function' 2024-08-14 21:40:00 +01:00
Michael Poluektov
0470146d7b replace Tuple with tuple 2024-08-14 13:58:37 +01:00
Michael Poluektov
29f904db45 remove List imports 2024-08-14 13:46:31 +01:00
Timothy J. Baek
a1888b3757 refac 2024-08-13 11:21:17 +01:00
Michael Poluektov
a725801e55 fix: formatting test errors, remove print, merge dev 2024-08-08 11:34:48 +01:00
Michael Poluektov
8cdf9814bd fix: name differences 2024-08-08 11:01:00 +01:00
Michael Poluektov
e6bbce439d fix: repeat_penalty 2024-08-08 10:52:09 +01:00
Michael Poluektov
fc31267a54 refac: re-use utils.misc 2024-08-06 11:31:45 +01:00
Timothy Jaeryang Baek
91851114e4
Merge pull request #4295 from michaelpoluektov/refactor-tools
refactor: Refactor OpenAI API to use helper functions, silence LSP/linter warnings
2024-08-04 14:17:52 +02:00
Michael Poluektov
f8ba0334e8 fix: non streaming functions 2024-08-04 12:10:02 +01:00
Michael Poluektov
12c21fac22 refac: apps/openai/main.py and utils 2024-08-03 14:24:26 +01:00
Michael Poluektov
b9b1fdd1a1 refac: rename message_template 2024-07-31 22:01:22 +01:00
Michael Poluektov
2e0fa1c6a0 refac: rename stream_message_template 2024-07-31 22:00:00 +01:00
Michael Poluektov
f8726719ef refac: rename whole_message_template, silence lsp 2024-07-31 21:58:40 +01:00
Michael Poluektov
29a3b82336 refac: reuse stream_message_template 2024-07-31 15:26:26 +01:00
Timothy J. Baek
1aaa2e8219 fix: ollama rag issue workaround 2024-07-26 12:22:13 +01:00
Timothy J. Baek
37285b8749 fix: do not include reserved params in specs 2024-07-08 21:52:23 -07:00
Timothy Jaeryang Baek
d0e89a0318
Merge pull request #3327 from jonathan-rohde/feat/sqlalchemy-instead-of-peewee
BREAKING CHANGE/sqlalchemy instead of peewee
2024-07-02 16:40:13 -07:00
Timothy J. Baek
7725a877d6 enh: get_last_user_message_item 2024-07-02 00:37:21 -07:00
Jonathan Rohde
8f939cf55b feat(sqlalchemy): some fixes 2024-06-27 07:48:08 +02:00
Jonathan Rohde
bee835cb65 feat(sqlalchemy): remove session reference from router 2024-06-27 07:48:08 +02:00
Jonathan Rohde
df09d0830a feat(sqlalchemy): Replace peewee with sqlalchemy 2024-06-27 07:48:08 +02:00
Timothy J. Baek
03bb4bcda6 refac: tool specs 2024-06-22 13:47:57 -07:00
Timothy J. Baek
e4af3852f7 refac: allow class in tools 2024-06-22 02:29:22 -07:00
Timothy J. Baek
d6e4aef607 feat: pipe function 2024-06-20 04:38:59 -07:00
Timothy J. Baek
ab270c1682 fix 2024-06-19 14:49:35 -07:00
Timothy J. Baek
b36c525ebc enh: cookie auth 2024-06-19 14:38:09 -07:00
Timothy J. Baek
493fe562ac refac 2024-06-17 14:39:21 -07:00
Timothy J. Baek
55dfc2013a enh: __messages__ support for tools 2024-06-17 13:28:29 -07:00
Timothy J. Baek
4b6b33b08b feat: user_location 2024-06-16 15:32:26 -07:00
Timothy J. Baek
fc1a66ea76 feat: current_time, current_datetime 2024-06-16 10:39:48 -06:00
Timothy J. Baek
2be14d57bf fix 2024-06-11 14:30:18 -07:00
Timothy J. Baek
67cd9b76ae refac: __user__ param 2024-06-11 10:35:13 -07:00
Timothy J. Baek
a27175d672 feat: fc integration 2024-06-10 23:40:27 -07:00
Timothy J. Baek
3a96e1f109 feat: tools backend 2024-06-10 20:39:55 -07:00
Timothy J. Baek
591cd993c2 refac: search query task 2024-06-09 14:53:10 -07:00
Timothy J. Baek
5e7237b9cb refac: title generation 2024-06-09 14:25:31 -07:00
Timothy J. Baek
f2b9a5f5bf refac: rag 2024-06-09 03:01:25 -07:00
Timothy J. Baek
d1da3dde65 refac: migration 2024-06-08 13:45:33 -07:00