Abraxas-365 / langchain-rust

🦜️🔗LangChain for Rust, the easiest way to write LLM-based programs in Rust
MIT License
491 stars 63 forks source link

tool_choice instead of function_call #181

Closed linusbierhoff closed 1 month ago

linusbierhoff commented 1 month ago

We have to change to tool_choice, because the functions are inserted as tools. I also added the named options to force the LLM to use a tool.

linusbierhoff commented 1 month ago

use tool_choice instead of function_call behavior