Google Bard를 경험해 보세요.

환경

  • 윈도우 10 64비트

  • 구글 바드

  • 파이썬 3.8

소개

오픈소스 Google채팅 로봇 BardAPI리버스 소개하는 글입니다. 이를 이용하시면 Bard무료로 서비스를 이용하실 수 있습니다. 프로젝트 주소: https://github.com/acheong08/Bard

설치 및 사용

pip다음을 통해 설치

pip <span class="hljs-keyword" style="color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;" style="font-size: inherit;color: inherit;line-height: inherit;overflow-wrap: inherit !important;word-break: inherit !important;">install <span class="hljs-comment" style="color: rgb(128, 128, 128); word-wrap: inherit !important; word-break: inherit !important;" style="font-size: inherit;color: inherit;line-height: inherit;overflow-wrap: inherit !important;word-break: inherit !important;">--upgrade GoogleBard
</span class="hljs-comment" style="color: rgb(128, 128, 128); word-wrap: inherit !important; word-break: inherit !important;"></span class="hljs-keyword" style="color: rgb(248, 35, 117); word-wrap: inherit !important; word-break: inherit !important;">

다음으로 세션 키를 가져와 브라우저에서 URL https://bard.google.com/을 열고 키보드를 누르고 콘솔에 들어가 F12-- Application> Cookies, 찾기 url, 문자열 필터링 Secure-1PSID, 복사 값

8b3a94c770da7fc0b2622e16b9e2ff44.png

구글 바드

그런 다음 터미널로 이동하여 서비스를 시작하십시오.

<span class="hljs-attribute" style="color: rgb(238, 220, 112); word-wrap: inherit !important; word-break: inherit !important;" style="font-size: inherit;color: inherit;line-height: inherit;overflow-wrap: inherit !important;word-break: inherit !important;">python -m Bard --session <span class="hljs-string" style="color: rgb(238, 220, 112); word-wrap: inherit !important; word-break: inherit !important;" style="font-size: inherit;color: inherit;line-height: inherit;overflow-wrap: inherit !important;word-break: inherit !important;">"VgiTpJBqhJqxfinFutFiBhZq4CAJcEBFSnApxX_iSmQgxq7CJOr_zA68P4CsWjbZswnP9g."
</span class="hljs-string" style="color: rgb(238, 220, 112); word-wrap: inherit !important; word-break: inherit !important;"></span class="hljs-attribute" style="color: rgb(238, 220, 112); word-wrap: inherit !important; word-break: inherit !important;">

--session매개변수의 값은 위에서 복사한 비밀 키입니다.

65fd02306686fb42958252c44107b481.png

구글 바드

메시지가 You:표시되면 묻고 싶은 질문을 입력한 다음 Alt + Enter또는 를 눌러 Esc + Enter전송한 다음 Bard답변을 기다립니다. 더 난처한 것은 Bard아직 중국어가 지원되지 않는데도 응답속도는 무난하다.

콜라보 노트북

당신이 그것에 익숙하다면 colab notebook, 이 링크를 방문할 수 있습니다

https://drive.google.com/file/d/1YyMWxTJgH4M0RbNRTpeDB8I97AZjKuc1/view?usp=sharing

자주하는 질문

서비스 시작 시 아래와 같은 오류가 발생하는 경우

60ba3c636e70c62352dc770ee46ac7c6.png

구글 바드

일반적으로 위의 세션 키가 올바르지 않기 때문이며 경우에 따라 마지막 것도 키의 일부 .입니다 .자세한 내용은 기사 끝의 링크 2를 참조하십시오.

참조

  • https://github.com/acheong08/바드

  • https://github.com/acheong08/Bard/issues/11

08cf75eea22d7dd321c9b0055b90e232.jpeg

Supongo que te gusta

Origin blog.csdn.net/djstavaV/article/details/130377299
Recomendado
Clasificación