PdfAI
DocumentSearch Method (String, String, Boolean)
|
Performs a question-answering task using the AI service with the specified question, for a file based on server-side path.
Namespace:
Spire.Pdf.AI
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public string DocumentSearch(
string question,
string file_server_path,
bool enableHistory
)
Public Function DocumentSearch (
question As String,
file_server_path As String,
enableHistory As Boolean
) As String
public:
String^ DocumentSearch(
String^ question,
String^ file_server_path,
bool enableHistory
)
member DocumentSearch :
question : string *
file_server_path : string *
enableHistory : bool -> string
Parameters
-
question
-
Type:
System
String
The question to be answered.
-
file_server_path
-
Type:
System
String
The file server path.
-
enableHistory
-
Type:
System
Boolean
Flag indicating whether to enable chat history.
Return Value
Type:
String
See Also