Extract function call result from automatic function calling #9602
Closed
HuskyDanny
started this conversation in
General
Replies: 1 comment
-
Hi @HuskyDanny, thanks for your question. You'll want to look a bit deeper into the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
I am using function calling for optional RAG. I want to extract the result of executing the RAG plugin, but I could only see the function call message and its output in the chatHistory, which then is packed into the metadata of Function.result
![image](https://private-user-images.githubusercontent.com/40053881/383914801-ff172c47-f300-4d92-ac05-297eed42355a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDc3MzgsIm5iZiI6MTczODk0NzQzOCwicGF0aCI6Ii80MDA1Mzg4MS8zODM5MTQ4MDEtZmYxNzJjNDctZjMwMC00ZDkyLWFjMDUtMjk3ZWVkNDIzNTVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDE2NTcxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIzZDliY2VjMzZhYmY2MDAzMWUwZWNkODViNmU1NmU1NmUyYTg2Nzc5YTJmYzJhN2RiN2Q5YjRjYTNmOGZjNDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.9_9J7Hve7Pt1b_KAYio94-MTELvgFIUetPuptJyruFU)
I could use the chatHistory to match the function result with the function call id manually, but want to ask if there is any alternatives here? I am using semantic-kernel==1.7.0 in python.
Beta Was this translation helpful? Give feedback.
All reactions