skydum

個人的な作業記録とか備忘録代わりのメモ

ChatGPT対抗のGoogleのBardが公開

ChatGPT対抗のGoogleのBard

Google製のAIチャットツールが公開になったので申し込んでみたところ30分ぐらいで利用可能になった。 以下のページからwish listに登録できます。

Google Bard
https://bard.google.com/

現状日本語対応しておらず、日本語で聞いたらサポートしていないと英語で怒られた。

今後以下の記事にあるように

グーグル、対話型AI「Bard」に「GitHub Copilot」対抗のコーディング支援機能を実装へ。社内テスト開始
https://www.businessinsider.jp/post-268676

との記載もあるので、興味がある人は早めに申し込んだほうがいいかなと思う。

Bardを使ってみた

ログインすると以下のような画面が出てくる。 インターフェイスはChatGPTとよく似ていて、下側のEnter a prompt hereに質問を入れると回答してくれる。

以下のような質問をしてみた。

SQLAlchemy2.0でデータを追加する方法についてなるべく詳しく方法を教えてください。
↓
Please tell me how to add data in SQLAlchemy 2.0 in as much detail as possible.

回答が現れるまで4,5秒程度で、回答の長さにかかわらず同じ時間で回答が返ってくるので結構早いなと思う。

回答の上の方にDraft 1, Draft 2, Draft 3と表示されているところをクリックすると回答内容が変わる。
ChatGPTは同じ質問に対しては基本的に同じ回答が返ってくるが、異なった回答が返ってくることがある。
何度かReset chatをして同じ質問をすると以前出力された同じ回答が返ってくることもある。
英語だと質問するのも大変なので早めに日本語サポートをしてくれるとありがたい。

最新情報を知っているのかなと思い以下の質問をした。

codewhispereって知ってる?
↓
are you familiara with codewhispere?

知っていると回答が来たので、最新情報を知っているし、URLを提示してくれるので結構便利な気がする。 日本語に対応してくれたらBingのチャットより便利かもしれない。

Yes, I am familiar with CodeWhisperer. It is an AI coding companion that generates real-time, single-line or full-function code suggestions in your Integrated Development Environment (IDE) to help you quickly build software. CodeWhisperer is trained on billions of lines of code and can generate code suggestions ranging from snippets to full functions in real time based on your comments and existing code. It can also flag or filter code suggestions that resemble open-source training data.

Here are some of the benefits of using CodeWhisperer:

Increased productivity: CodeWhisperer can help you write code faster and more efficiently by providing you with real-time code suggestions. This can free up your time to focus on more creative and strategic aspects of your work.
Improved code quality: CodeWhisperer can help you write more reliable and secure code by suggesting code that is based on best practices. This can help you avoid costly bugs and security vulnerabilities.
Reduced learning curve: CodeWhisperer can help you learn new programming languages and frameworks more quickly by providing you with code suggestions that are specific to the language or framework you are using.
If you are a developer who wants to improve your productivity, code quality, and learning curve, then I recommend using CodeWhisperer.

Sources
1. 
aws.amazon.com/codewhisperer/