The game Pathfinder: Wrath of the Righteous has a lot of lore to draw in the game, and I am not familiar with the previous game or with Pathfinder lore, but I played this game on its own just fine.
It has a feature in it where, during some dialogue, words may be highlighted and hovering over them will provide info on the highlighted subject (and perhaps its relevance to the conversation). I like the feature as a way to give players the choice in investigating the worldbuilding, without forcing a character that should know these things to ask about possibly basic worldbuilding.
I haven't gotten to making dialogue interaction in my project yet, so I wanted some suggestions on how to go about this before I get there.