ANALYST Functions

Function List

  • CORPDEV.AI_QUESTION

  • CORPDEV.AI_SCORE_WITH_DESC

  • CORPDEV.AI_SCORE

See Also:

  • CORPDEV.COMPANY_RESEARCH_QUESTION

  • CORPDEV.GRDIVE_DOCUMENT_QUESTION


CORPDEV.AI_QUESTION(prompt, context, answer_format)

Description: Asks an AI a question and retrieves the response in the specified format. This function is designed for logic and reasoning tasks based on data your provide in the prompt or as context. This function does not access any data sources (answers are based on AI's general knowledge).

Parameters:

  • prompt (string): The question prompt.

  • context (string): The context of the question.

  • answer_format (string): The desired format of the answer.

Returns: The AI's response.

For questions that require online or private material research:

  • CORPDEV.COMPANY_RESEARCH_QUESTION - for questions requiring online research

  • CORPDEV.GRDIVE_DOCUMENT_QUESTION - for questions about a specific document


CORPDEV.AI_SCORE_WITH_DESC(scoring_factor_name, scoring_factor_criteria, source_material_to_score_by, additional_context)

Description: Retrieves an AI-generated score along with a description for a factor based on given criteria and source material.

Parameters:

  • scoring_factor_name (string): The factor to score.

  • scoring_factor_criteria (string): The criteria for scoring.

  • source_material_to_score_by (string): The source material for scoring.

  • additional_context (string, optional): Additional context.

Returns: An array containing the score and the description.


CORPDEV.AI_SCORE(scoring_factor_name, scoring_factor_criteria, source_material_to_score_by, additional_context)

Description: Retrieves the AI-generated score for a factor based on given criteria and source material.

Parameters:

  • scoring_factor_name (string): The factor to score.

  • scoring_factor_criteria (string): The criteria for scoring.

  • source_material_to_score_by (string): The source material for scoring.

  • additional_context (string, optional): Additional context.

Returns: The score.

Last updated