Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

ChatGeoPT

> 编程语言
Open source

A very basic, very brittle proof of concept for an AI assistant for geospatial search

196 stars0 likes0 views
WebsiteGitHub

About

A very basic, very brittle proof of concept for an AI assistant for geospatial search

ChatGeoPT

A very basic, very brittle proof of concept for an AI assistant for geospatial search [blog post]

https://user-images.githubusercontent.com/108955227/225982137-fadd31ec-1339-4d47-8483-decbbbef7ee0.mov

What is ChatGeoPT?

ChatGeoPT is a toy demo for exploring ideas related to using Large Languge Models (LLMs) for powering geospatial datascience workflows. The app takes as input a natural language prompt, translates it into an OpenStreeMap Overpass API query, and then reads the result of the API query to answer the original prompt.

The entirety of ChatGeoPT is under 200 lines of Python code. It is built on top of some amazingly powerful libraries and tools, including OpenAI's language models, OSM's Overpass API, and Streamlit.

Please note that this code is meant for demonstration purposes only -- we can almost gaurantee you will break it when using it for even basic searches.

For more information, check out our blog post here

Running ChatGeoPT

To run ChatGeoPT, please install the requirements in requirements.txt using your favorite virtual enviornment manager. You can then run the Streamlit app using the command streamlit run app.py. You will also need to set an enviornment variable OPENAI_API_KEY, which should be a valid OpenAI API Key, in order to query the GPT-3 API.

Troubleshooting

Not getting great results? Give feedback to GPT-3 directly in the chatbox (e.g. "That searches the wrong area -- can you try again?") The more specific the feedback, the better. If that doesn't work, try restarting the app. Sometimes GPT-3 gets stuck in a loop of bad decisions, and restarting the app will refresh its state.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言