Click or drag to resize

PresentationAI Search Method

Ask a question using AI.

Namespace: Spire.Presentation.AI
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public string Search(
	string question,
	string language,
	bool enableHistory = false
)

Parameters

question
Type: System String
Questions asked.
language
Type: System String
language of answer.
enableHistory (Optional)
Type: System Boolean
Flag indicating whether to enable chat history.

Return Value

Type: String
result contains the generated answer as a string.
See Also