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-4)

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.2.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.2-py2.py3-none-any.whl (24.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: arcgispro_ai-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c38bcdb9af08b5bcae834f3e360489aeb5800ae7fea74c4ac370af1adf79caa7
MD5 0864308477c26044139e8535424d54c3
BLAKE2b-256 30cf6ef76fbeff81b00b6b19aeffa9ac58eb6277801174e53e8fb835575e7077

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arcgispro_ai-0.0.2-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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a9a5ea39113b3acd4070fe1d9492abe715444740b769ff7cc733bced2d4fc6fa
MD5 41c431e724f586920750c56d803b8ca0
BLAKE2b-256 2a3291a1fbb6b98a15cd48dfc2816d121b14a3df4a009c2cb3013ed75c203d67

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