Google  Bard API

Install

If you will not provide the language parameter (use englishkoreanjapanese only as input text):

pip install bardapi

from bardapi import Bard

token = 'xxxxxxxxxx'
bard = Bard(token=token)
bard.get_answer("에코파츠에 대해서 알려줘")['content']


Leave a comment

Your email address will not be published. Required fields are marked *