Create OpenSky Network Document Loader #27193
AndrewEffendi
started this conversation in
Ideas
Replies: 2 comments
-
I have made a PR here |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @efriis |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
A Document Loader for https://opensky-network.org/
The OpenSky Network API provides endpoints for accessing both real-time and historical flight data:
All State Vectors: https://opensky-network.org/api/states/all
Flight by time interval: https://opensky-network.org/api/flights/all?begin={begin}&end={end}
Flight by aircraft: https://opensky-network.org/api/flights/aircraft?icao24={icao24}&begin={begin}&end={end}
Arrivals by Airport: https://opensky-network.org/api/flights/arrival?airport={airport}&begin={begin}&end={end}
Departures by Airport: https://opensky-network.org/api/flights/departure?airport={airport}&begin={begin}&end={end}
Motivation
The OpenSky Network is an open-source initiative aimed at providing transparent access to air traffic data, which can greatly enhance aviation research and applications. By developing a dedicated document loader, users will be able to seamlessly integrate flight data into their applications or analytical workflows, enabling insights into air traffic patterns, flight tracking, and operational analysis using LLMs.
Proposal (If applicable)
We are a group of four students from the University of Toronto working to develop this feature. If this idea is approved, we hope to submit a PR by mid-November.
Here is an outline of the changes we are anticipating to make:
Modifications to existing files
We plan to modify the following file:
libs/community/langchain_community/document_loaders/__init__.py
to register our loaderlibs/community/langchain_community/utilities/__init__.py
to register our API WrapperNew files
We plan to create the following files:
libs/community/langchain_community/document_loaders/openSky.py
where we will define the classOpenSkyLoader
which inherits fromBaseLoader
andOpenSkyAPIWrapper
libs/community/langchain_community/utilities/openSky.py
where we will define the classOpenSkyAPIWrapper
which inherits fromBaseModel
Some Sample Code
Beta Was this translation helpful? Give feedback.
All reactions