GoogleBard icon indicating copy to clipboard operation
GoogleBard copied to clipboard

API gives unexpected/bad responses

Open Daniel27110 opened this issue 1 year ago • 2 comments

Starting today, the bot's answers became dull and unintelligent, replying with the same prompt that was given or fragments of the prompt.

Example:

import { Bard } from "googlebard";

let cookies = `__Secure-1PSID=<YOUR_COOKIE>`;
let bot = new Bard(cookies, {
    inMemory: false,
    savePath: "./conversations.json",
});

let conversationId = "test_id";

let response = await bot.ask("My name is Mehul", conversationId);
console.log(response);
>> Mehul

The issue persists after the module is reinstalled and also after the conversation is reset. Updating the cookie ID didn't help either. It used to work perfectly, this issue started presenting itself just today.

Daniel27110 avatar Jun 27 '23 02:06 Daniel27110

yea, i keep getting : "sorry i couldnt generate a response" just started recently... no errors tho.

raymerjacque avatar Jun 27 '23 16:06 raymerjacque

I think google has tried to remove this unofficial api, it has stopped working for me too. More in here Github issue

AtharvDhoot avatar Jun 28 '23 12:06 AtharvDhoot