UW-xDD / text2graph_llm

An experimental API endpoint to convert text to knowledge graph triplets.
MIT License
2 stars 1 forks source link

Probably should preprocess hydration step #38

Open JasonLo opened 5 months ago

JasonLo commented 5 months ago

Retrieving GPS coordinates is slow due to API rate limits, requiring about 1.5 seconds per location. For example, processing 10 locations takes 15 seconds. To increase efficiency, we can cache location data similarly to the LLM triplet extraction method by associating each paragraph with pre-retrieved coordinates. We need to verify with Sky whether GPS data is frequently needed in the output or only occasionally before deciding to implement this feature.