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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3OTQxNTgsIm5iZiI6MTczODc5Mzg1OCwicGF0aCI6Ii80MDA1Mzg4MS8zODM5MTQ4MDEtZmYxNzJjNDctZjMwMC00ZDkyLWFjMDUtMjk3ZWVkNDIzNTVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA1VDIyMTczOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVkYmIxZWM4YzMxOWY0ZGViOWQ3ZDczYzVlZjk5YTBmYWNhNmJmNzZjMDA0YjlmZDIxNzEyZDZkMjM3NDdhZjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.EURj-g0JPL9smexy-XQyl9w10LS419X45_sMAAXTLDM)
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