Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
pj8912 committed May 18, 2023
1 parent 0105917 commit a2bfb39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
```
Expand Down

0 comments on commit a2bfb39

Please sign in to comment.