@@ -360,6 +360,7 @@ def question(
360360 * ,
361361 graph_ids : SequenceNotStr [str ],
362362 question : str ,
363+ query_config : graph_question_params .QueryConfig | NotGiven = NOT_GIVEN ,
363364 stream : Literal [False ] | NotGiven = NOT_GIVEN ,
364365 subqueries : bool | NotGiven = NOT_GIVEN ,
365366 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -377,6 +378,9 @@ def question(
377378
378379 question: The question to answer using the Knowledge Graph.
379380
381+ query_config: Configuration options for Knowledge Graph queries, including search parameters
382+ and citation settings.
383+
380384 stream: Determines whether the model's output should be streamed. If true, the output is
381385 generated and sent incrementally, which can be useful for real-time
382386 applications.
@@ -400,6 +404,7 @@ def question(
400404 graph_ids : SequenceNotStr [str ],
401405 question : str ,
402406 stream : Literal [True ],
407+ query_config : graph_question_params .QueryConfig | NotGiven = NOT_GIVEN ,
403408 subqueries : bool | NotGiven = NOT_GIVEN ,
404409 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
405410 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -420,6 +425,9 @@ def question(
420425 generated and sent incrementally, which can be useful for real-time
421426 applications.
422427
428+ query_config: Configuration options for Knowledge Graph queries, including search parameters
429+ and citation settings.
430+
423431 subqueries: Specify whether to include subqueries.
424432
425433 extra_headers: Send extra headers
@@ -439,6 +447,7 @@ def question(
439447 graph_ids : SequenceNotStr [str ],
440448 question : str ,
441449 stream : bool ,
450+ query_config : graph_question_params .QueryConfig | NotGiven = NOT_GIVEN ,
442451 subqueries : bool | NotGiven = NOT_GIVEN ,
443452 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
444453 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -459,6 +468,9 @@ def question(
459468 generated and sent incrementally, which can be useful for real-time
460469 applications.
461470
471+ query_config: Configuration options for Knowledge Graph queries, including search parameters
472+ and citation settings.
473+
462474 subqueries: Specify whether to include subqueries.
463475
464476 extra_headers: Send extra headers
@@ -477,6 +489,7 @@ def question(
477489 * ,
478490 graph_ids : SequenceNotStr [str ],
479491 question : str ,
492+ query_config : graph_question_params .QueryConfig | NotGiven = NOT_GIVEN ,
480493 stream : Literal [False ] | Literal [True ] | NotGiven = NOT_GIVEN ,
481494 subqueries : bool | NotGiven = NOT_GIVEN ,
482495 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -492,6 +505,7 @@ def question(
492505 {
493506 "graph_ids" : graph_ids ,
494507 "question" : question ,
508+ "query_config" : query_config ,
495509 "stream" : stream ,
496510 "subqueries" : subqueries ,
497511 },
@@ -867,6 +881,7 @@ async def question(
867881 * ,
868882 graph_ids : SequenceNotStr [str ],
869883 question : str ,
884+ query_config : graph_question_params .QueryConfig | NotGiven = NOT_GIVEN ,
870885 stream : Literal [False ] | NotGiven = NOT_GIVEN ,
871886 subqueries : bool | NotGiven = NOT_GIVEN ,
872887 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -884,6 +899,9 @@ async def question(
884899
885900 question: The question to answer using the Knowledge Graph.
886901
902+ query_config: Configuration options for Knowledge Graph queries, including search parameters
903+ and citation settings.
904+
887905 stream: Determines whether the model's output should be streamed. If true, the output is
888906 generated and sent incrementally, which can be useful for real-time
889907 applications.
@@ -907,6 +925,7 @@ async def question(
907925 graph_ids : SequenceNotStr [str ],
908926 question : str ,
909927 stream : Literal [True ],
928+ query_config : graph_question_params .QueryConfig | NotGiven = NOT_GIVEN ,
910929 subqueries : bool | NotGiven = NOT_GIVEN ,
911930 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
912931 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -927,6 +946,9 @@ async def question(
927946 generated and sent incrementally, which can be useful for real-time
928947 applications.
929948
949+ query_config: Configuration options for Knowledge Graph queries, including search parameters
950+ and citation settings.
951+
930952 subqueries: Specify whether to include subqueries.
931953
932954 extra_headers: Send extra headers
@@ -946,6 +968,7 @@ async def question(
946968 graph_ids : SequenceNotStr [str ],
947969 question : str ,
948970 stream : bool ,
971+ query_config : graph_question_params .QueryConfig | NotGiven = NOT_GIVEN ,
949972 subqueries : bool | NotGiven = NOT_GIVEN ,
950973 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
951974 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -966,6 +989,9 @@ async def question(
966989 generated and sent incrementally, which can be useful for real-time
967990 applications.
968991
992+ query_config: Configuration options for Knowledge Graph queries, including search parameters
993+ and citation settings.
994+
969995 subqueries: Specify whether to include subqueries.
970996
971997 extra_headers: Send extra headers
@@ -984,6 +1010,7 @@ async def question(
9841010 * ,
9851011 graph_ids : SequenceNotStr [str ],
9861012 question : str ,
1013+ query_config : graph_question_params .QueryConfig | NotGiven = NOT_GIVEN ,
9871014 stream : Literal [False ] | Literal [True ] | NotGiven = NOT_GIVEN ,
9881015 subqueries : bool | NotGiven = NOT_GIVEN ,
9891016 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -999,6 +1026,7 @@ async def question(
9991026 {
10001027 "graph_ids" : graph_ids ,
10011028 "question" : question ,
1029+ "query_config" : query_config ,
10021030 "stream" : stream ,
10031031 "subqueries" : subqueries ,
10041032 },
0 commit comments