Maybe unify the JSON structure of tools field in API /v1/chat/completions and Chat tab in "LLaMA Board" #2765
Closed
lungothrin
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
/v1/chat/completions API and Chat tab, they use different JSON structure for tools fields.
API accepts:
[{"function": { TOOL DEFINITION GOES HERE} }]
Chat tab accepts:
[{ SAME DEFINITION}]
an extra level of "function".
I have no idea of why they became the way they are right now, but can we unify these two.
Any Ideas?
Beta Was this translation helpful? Give feedback.
All reactions