An error occurred when I tired to make curve intersection in GHpython. Can any kind person help me?
The code is as follows:

import rhinoscriptsyntax as rs
import ghpythonlib.components as ghcomp
intersection = ghcomp.RegionIntersection(R1 , R2)
out = intersection

The error is as follows:

Warning: Region Intersection: input 1 curves_a. error: Data conversion failed from Guid to Curve
Warning: Region Intersection: input 2 curves_b. error: Data conversion failed from Guid to Curve
Warning: Region Intersection: solver component. error: Data conversion failed from Guid to Curve
Warning: Region Intersection: solver component. error: Data conversion failed from Guid to Curve

Thank you so much. Which library does the Intersection.CurveCurve belongs to? Could you spell it full? or provide a documentation link about the library.