@@ -20,17 +20,24 @@ def __init__(self, *, client_wrapper: SyncClientWrapper):
2020 self ._client_wrapper = client_wrapper
2121
2222 def summarize (
23- self , * , markdown : str , images : typing .Dict [str , str ], request_options : typing .Optional [RequestOptions ] = None
23+ self ,
24+ * ,
25+ markdown : str ,
26+ images : typing .Dict [str , str ],
27+ question : typing .Optional [str ] = OMIT ,
28+ request_options : typing .Optional [RequestOptions ] = None ,
2429 ) -> SummarizerResponse :
2530 """
26- Generate GDS factory code to create a PIC component
31+ Summarize a PIC document
2732
2833 Parameters
2934 ----------
3035 markdown : str
3136
3237 images : typing.Dict[str, str]
3338
39+ question : typing.Optional[str]
40+
3441 request_options : typing.Optional[RequestOptions]
3542 Request-specific configuration.
3643
@@ -57,6 +64,7 @@ def summarize(
5764 json = {
5865 "markdown" : markdown ,
5966 "images" : images ,
67+ "question" : question ,
6068 },
6169 headers = {
6270 "content-type" : "application/json" ,
@@ -94,17 +102,24 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
94102 self ._client_wrapper = client_wrapper
95103
96104 async def summarize (
97- self , * , markdown : str , images : typing .Dict [str , str ], request_options : typing .Optional [RequestOptions ] = None
105+ self ,
106+ * ,
107+ markdown : str ,
108+ images : typing .Dict [str , str ],
109+ question : typing .Optional [str ] = OMIT ,
110+ request_options : typing .Optional [RequestOptions ] = None ,
98111 ) -> SummarizerResponse :
99112 """
100- Generate GDS factory code to create a PIC component
113+ Summarize a PIC document
101114
102115 Parameters
103116 ----------
104117 markdown : str
105118
106119 images : typing.Dict[str, str]
107120
121+ question : typing.Optional[str]
122+
108123 request_options : typing.Optional[RequestOptions]
109124 Request-specific configuration.
110125
@@ -139,6 +154,7 @@ async def main() -> None:
139154 json = {
140155 "markdown" : markdown ,
141156 "images" : images ,
157+ "question" : question ,
142158 },
143159 headers = {
144160 "content-type" : "application/json" ,
0 commit comments