Skip to content

GigaChatv3 models tool parser and tests#17922

Closed
Mishusha wants to merge 2 commits intoggml-org:masterfrom
Mishusha:feature/add_gigachat_tool_parser
Closed

GigaChatv3 models tool parser and tests#17922
Mishusha wants to merge 2 commits intoggml-org:masterfrom
Mishusha:feature/add_gigachat_tool_parser

Conversation

@Mishusha
Copy link
Contributor

This PR adds a tool parser for parsing the function calls made by the Gigachat 3 models.
Models can generate only one function call using format:

{text}<|message_sep|>\n\nfunction call<|role_sep|>\n{json}

Where <|message_sep|>\n\n and <|role_sep|>\n are special tokens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Everything test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant