Skip to main content

ArcGIS Pro AI Tools

Project description

ArcGIS Pro AI Toolbox

Overview

The ArcGIS Pro AI Toolbox is a Python-based toolbox designed to enhance the functionality of ArcGIS Pro by integrating AI capabilities. This toolbox allows users to interact with AI models, process geospatial data, and generate insights directly within the ArcGIS Pro environment. This is a BYOK (bring your own key) implementation.

Tools

Add AI Generated Field: Add new fields with AI-generated text based on existing attributes and user-defined prompts.

Get Map Info: Extract information about your current map into a JSON file, providing context for other AI tools.

Generate Python Code: Create Python snippets tailored to your workflows and data context.

Create AI Feature Layer: Generate new feature layers using prompts to describe the data you need.

Convert Text to Numeric: Quickly clean up inconsistent text formats and turn them into numeric fields.

Supported AI Providers

The toolbox supports multiple AI providers:

OpenAI

  • Default provider
  • Supports GPT-4 and other OpenAI models
  • Requires: OPENAI_API_KEY environment variable
  • Configuration:
    • Model: Select the OpenAI model to use (default: gpt-40-mini)

Azure OpenAI

  • Microsoft's Azure-hosted OpenAI service
  • Requires: AZURE_OPENAI_API_KEY environment variable
  • Configuration:
    • Model: The deployed model name
    • Endpoint: Your Azure OpenAI endpoint URL
    • Deployment Name: The deployment name for your model

Claude (Anthropic)

  • Anthropic's Claude models
  • Requires: ANTHROPIC_API_KEY environment variable
  • Configuration:
    • Model: Select Claude model (default: claude-3-opus-20240229)

DeepSeek

  • DeepSeek's language models
  • Requires: DEEPSEEK_API_KEY environment variable
  • Configuration:
    • Model: Select DeepSeek model (default: deepseek-chat)

Local LLM

  • Run against a local LLM server
  • No API key required
  • Configuration:
    • Endpoint: Server URL (default: http://localhost:8000)
    • Must implement OpenAI-compatible chat completions API

Wolfram Alpha

  • For mathematical and computational queries
  • Requires: WOLFRAM_ALPHA_API_KEY environment variable
  • No additional configuration needed

Installation

  1. Set up the required environment variables for your chosen AI provider(s):

    setx OPENAI_API_KEY "your-key-here"
    setx AZURE_OPENAI_API_KEY "your-key-here"
    setx ANTHROPIC_API_KEY "your-key-here"
    setx DEEPSEEK_API_KEY "your-key-here"
    
  2. For local LLM setup:

    • Deploy a compatible LLM server that implements the OpenAI chat completions API
    • Configure the endpoint URL in the tool interface (defaults to http://localhost:8000)

Usage

  1. Select your preferred AI provider from the dropdown in each tool
  2. Configure any provider-specific settings (model, endpoint, etc.)
  3. Enter your prompt or query
  4. Execute the tool

Each tool will use the selected provider to generate responses, with automatic fallback to OpenAI if the selected provider is not configured.

Contributing

Make an issue or create a branch for your feature or bug fix, and submit a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arcgispro_ai-0.0.3.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arcgispro_ai-0.0.3-py2.py3-none-any.whl (24.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file arcgispro_ai-0.0.3.tar.gz.

File metadata

  • Download URL: arcgispro_ai-0.0.3.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for arcgispro_ai-0.0.3.tar.gz
Algorithm Hash digest
SHA256 093c5ef49a170fb272feb409b3d78103f916c14f9abd1f5b950ab5eb71fb5fd9
MD5 723164e697116a06079854940d20c76c
BLAKE2b-256 3b1674ead8a06ed6b5ebaad6a569eaf2805dea2ffc3a2d5ff89be7b01d3b9b9b

See more details on using hashes here.

File details

Details for the file arcgispro_ai-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: arcgispro_ai-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for arcgispro_ai-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e1d69ea06c7c71a63c79b62dc2114cb33d345c6df44e77a09068aaff7e7fd58c
MD5 c02f2cd32a35b43f9e2dda5ed475c8e2
BLAKE2b-256 ad237eeb2923c068b772feb3497ddd032247d9057d9f663b9295b8630f08db1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page