openfunctions_evaluation.py 475 B

1234567891011
  1. from bfcl._llm_response_generation import get_args, main
  2. from bfcl.constant import DOTENV_PATH
  3. from dotenv import load_dotenv
  4. # Note: This file is still kept for compatibility with the old structure of the codebase.
  5. # It is recommended to use the new `bfcl xxx` cli commands instead.
  6. # We will remove this in the next major release.
  7. if __name__ == "__main__":
  8. load_dotenv(dotenv_path=DOTENV_PATH, verbose=True, override=True) # Load the .env file
  9. main(get_args())