Skip to content
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

Add an ai module #2111

Merged
merged 3 commits into from
Aug 14, 2024
Merged

Add an ai module #2111

merged 3 commits into from
Aug 14, 2024

Conversation

giswqs
Copy link
Member

@giswqs giswqs commented Aug 14, 2024

This PR adds an ai module with the Genie class for using LLM in geemap.

The source code is adapted from the ee_genie.ipynb at https://bit.ly/3YEm7B6.
Credit to the original author Simon Ilyushchenko @simonff

from geemap.ai import Genie
Genie(
    gemini_model="gemini-1.5-flash",
    target_score=0.8,
    widget_height="600px",
)

image

Copy link

github-actions bot commented Aug 14, 2024

@github-actions github-actions bot temporarily deployed to pull request August 14, 2024 02:16 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 14, 2024 02:45 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 14, 2024 03:38 Inactive
@giswqs giswqs merged commit b7e801b into master Aug 14, 2024
14 checks passed
@giswqs giswqs deleted the llm branch August 14, 2024 03:39
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