UW-xDD / text2graph_llm

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

Dynamically generate prompt to provide known entity information #18

Closed JasonLo closed 3 months ago

JasonLo commented 3 months ago

Problem: Large Language Models (LLMs) sometimes confuse locations and stratigraphic names in their outputs.

Solution: Extract recognized entities from the Macrostrat database, incorporate these entities into the prompt, and then guide the model to accurately categorize these entities according to their known types within the prompt.