Future-House / paper-qa

High accuracy RAG for answering questions from scientific documents with citations
Apache License 2.0
6.44k stars 617 forks source link

`LLMModel` does not support tool calling #701

Open jamesbraza opened 3 days ago

jamesbraza commented 3 days ago

It would be nice if LLMModel directly supported tool calling.

That way, we wouldn't need to shim to aviary.ToolSelector like we do here: https://github.com/Future-House/paper-qa/blob/6fda922f345a5d9cd38e5a6bce6de7a055e6f44d/paperqa/llms.py#L757-L764