From a2bfb399b3ae556e1ef76e7e9d12d1c73ac334c6 Mon Sep 17 00:00:00 2001 From: pj8912 Date: Thu, 18 May 2023 05:56:13 +0530 Subject: [PATCH] updated README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index abab019..aa34270 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,12 @@ $bard = new Bard(); $input_text = "Hello, Bard!"; // Input text for the conversation $result = $bard->get_answer($input_text); // Get the response from Bard // Access the result data +$conversation_id = $result["conversation_id"]; +$response_id = $result["response_id"]; +$factualityQueries = $result["factualityQueries"]; +$textQuery = $result["textQuery"]; +$choices = $result["choices"]; +// reply $content = $result["content"]; print($content); ```