alexrudall / ruby-openai

OpenAI API + Ruby! 🤖❤️ NEW: Assistant Vector Stores
MIT License
2.61k stars 302 forks source link

Update function calling section of README #453

Closed Jbrito6492 closed 2 months ago

Jbrito6492 commented 2 months ago

This change addresses the issue. tool_calls is an array, so we must access the first index when retrieving values. Furthermore, the tool_choice key was left out of the documentation, causing a variance in behavior.

All Submissions:

alexrudall commented 2 months ago

Thanks @Jbrito6492