scene_service.scene_graph.prompts¶
LLM prompts for scene graph relation inference.
Functions
|
Build the user message payload for one object pair (full inference). |
|
Build the user message for a semantic-only query on a pair whose spatial relation geometry has already fixed (passed as known_relation). |
- scene_service.scene_graph.prompts.build_relation_user_prompt(a: SceneGraphNode, b: SceneGraphNode, hint: GeometryHint) str[source]¶
Build the user message payload for one object pair (full inference).
- scene_service.scene_graph.prompts.build_semantic_relation_user_prompt(a: SceneGraphNode, b: SceneGraphNode, hint: GeometryHint, known_relation: str) str[source]¶
Build the user message for a semantic-only query on a pair whose spatial relation geometry has already fixed (passed as known_relation).