Table of Contents

Class GenAiApi

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
public class GenAiApi
Inheritance
GenAiApi

Constructors

GenAiApi()

public GenAiApi()

Methods

GetGenAiAnswer<T>(T, GenAiTypeEnum)

This function will connect with api to obtain an answer to the question

public PHCResult GetGenAiAnswer<T>(T genAIQuestionContent, GenAiApi.GenAiTypeEnum genAiType) where T : GenAiApi.GenAIQuestionContent

Parameters

Nome Tipo Descrição
genAIQuestionContent T
genAiType GenAiApi.GenAiTypeEnum

Returns

PHCResult

Type Parameters

T

GetPromptToCopy<T>(T, GenAiTypeEnum)

This function will just create the content for copy/paste to external URL

public PHCResult GetPromptToCopy<T>(T genAIQuestionContent, GenAiApi.GenAiTypeEnum genAiType) where T : GenAiApi.GenAIQuestionContent

Parameters

Nome Tipo Descrição
genAIQuestionContent T
genAiType GenAiApi.GenAiTypeEnum

Returns

PHCResult

Type Parameters

T