8000 Integrate with Gemini API by nestorzamili · Pull Request #2 · nestorzamili/WhatsApp-Web-JS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Integrate with Gemini API #2

New issue

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

Merged
merged 1 commit into from
May 2, 2024
Merged

Integrate with Gemini API #2

merged 1 commit into from
May 2, 2024

Conversation

nestorzamili
Copy link
Owner
@nestorzamili nestorzamili commented May 2, 2024

This pull request integrates the Gemini API into the WhatsApp bot project, enhancing its capabilities with new features.

  • Adds Gemini API integration: Introduces a new file geminiClient.js that handles the integration with the Gemini API, including authentication and API calls. This file utilizes @google/generative-ai for making HTTP requests, aligning with the project's objective to extend its functionality.
  • Updates dependencies: Modifies package.json to include @google/generative-ai as a new dependency, necessary for the Gemini API integration.
  • Expands environment variables: Updates .env.example to include GEMINI_API_KEY and GEMINI_MODEL_NAME, preparing the project for secure and customizable Gemini API integration.

For more details, open the Copilot Workspace session.

@nestorzamili nestorzamili merged commit 658552e into main May 2, 2024
1 check passed
@nestorzamili nestorzamili deleted the integrate-gemini branch May 2, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0