I would like to use Replit’s Python to connect to BingAI and create a program to display the answers.
However, I’m looking for a method that doesn’t use BingAI’s API key or Open AI’s API key.
Can anyone please elaborate on this?
The programming flow assumes the following.
■ Contents of flow
Flow 1
User enters multiple company names at once
Flow 2
From the first item entered in batch to the last item entered one by one, enter it into the text input item to BingAI
As for the input form, the company name entered in flow 1 is entered in the text of the above example sentence, and the input is performed in the same sentence form as the example sentence.
Flow 3
Wait until the essential content from BingAI finishes for each input
In addition, the part to be extracted assumes the following from the CSS selector
cib-shared > div > div > div.ac-textBlock > ul > li:nth-child(1) > ul
cib-shared > div > div > div.ac-textBlock > ul > li:nth-child(2) > ul
cib-shared > div > div > div.ac-textBlock > ul > li:nth-child(3) > ul
cib-shared > div > div > div.ac-textBlock > ul > li:nth-child(4) > ul
4 flows
When the answer comes, notify the user of the most content as follows for each case
Note that ① to ④ reflect the text written in the reply message
>>Response from BingAI
Entered company name (1) Company website URL (2) Business description (3) Address (4) Representative