FREYR: A Framework for Recognizing and Executing Your Requests

Roberto Gallotta, Antonios Liapis, Georgios N. Yannakakis
1/21/2025
cs.SEcs.AI

No official code found. Best implementation: gallorob/freyr (1 star, Apache-2.0, last commit 2025-01-26).

Abstract

Large language models excel as conversational agents, but their capabilities can be further extended through tool usage, i.e.: executable code, to enhance response accuracy or address specialized domains. Current approaches to enable tool usage often rely on model-specific prompting or fine-tuning a model for function-calling instructions. Both approaches have notable limitations, including reduced adaptability to unseen tools and high resource requirements. This paper introduces FREYR, a streamlined framework that modularizes the tool usage process into separate steps. Through this decomposition, we show that FREYR achieves superior performance compared to conventional tool usage methods. We evaluate FREYR on a set of real-world test cases specific for video game design and compare it against traditional tool usage as provided by the Ollama API.

View on arXivView PDF

Code Implementations(1)

gallorob/freyrCommunity100%
Apache-2.0

Codebase for "Freyr: A Framework for Recognizing and Exectuing Your Requests"

10Shell, PythonNov 13, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{gallotta2025freyr,
  title  = {FREYR: A Framework for Recognizing and Executing Your Requests},
  author = {Roberto Gallotta and Antonios Liapis and Georgios N. Yannakakis},
  year   = {2025},
  eprint = {2501.12423},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.12423v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.12423.svg)](https://codeofpaper.com/paper/2501.12423)

Discussion