We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Because gemini-pro is fast and free.
The text was updated successfully, but these errors were encountered:
sure, in fact you can simply change settings to use Gemini Pro
firstly, clone / copy this file to your workspace: https://github.com/Maplemx/Agently/blob/main/playground/function_calling.py
then, find this part of code:
agent_factory\ .set_settings("current_model", "ERNIE")\ .set_settings("model.ERNIE.model_name", "ERNIE")\ .set_settings("model.ERNIE.auth", { "aistudio": "<YOUR-ERNIE-ACCESS-TOKEN>" })
change it to:
agent_factory\ .set_settings("current_model", "Google")\ .set_settings("model.Google.auth". { "api_key": "<Your-Google-API-Key-Here>" })
then you can use Gemini Pro to drive the agent to do function calling.
To explore more, you can read: https://github.com/Maplemx/Agently/blob/main/docs/guidebook/application_development_handbook.ipynb
Sorry, something went wrong.
No branches or pull requests
Because gemini-pro is fast and free.
The text was updated successfully, but these errors were encountered: