pipecat icon indicating copy to clipboard operation
pipecat copied to clipboard

function calling fixes for together/llama-3.1

Open kwindla opened this issue 1 year ago • 1 comments

Fixes for these function call test cases:

test_strings = [
    '<function=hello>{world}</function>',
    '<function=goodbye>{cruel world}"</function>',
    '<function=spacey>{extra space} </function>',
    '<function=noclose>{this has no closing tag}',
    '<function=empty></function>',
]

And also extracts a function call from the middle of an output (not just the beginning).

kwindla avatar Sep 07 '24 19:09 kwindla

This looks fine to me, but I will leave it to others to approve, as I have not tested function calling with Together.

LewisWolfgang avatar Sep 09 '24 14:09 LewisWolfgang

this seems pretty stale and the issue is fixed. ok if I close @kwindla ?

vipyne avatar Oct 29 '24 20:10 vipyne

closing for now, but feel free to re-open if necessary @kwindla !

vipyne avatar Nov 07 '24 16:11 vipyne