aws-samples / amazon-kendra-langchain-extensions

Samples to build Generative AI applications with LangChain and Amazon Kendra
https://aws.amazon.com/blogs/machine-learning/quickly-build-high-accuracy-generative-ai-applications-on-enterprise-data-using-amazon-kendra-langchain-and-large-language-models/
MIT No Attribution
158 stars 104 forks source link

add: Japanese version #52

Closed miya10 closed 10 months ago

miya10 commented 10 months ago

Issue #, if available: None

Description of changes: Add Japanese localization for sample codes and translate README.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

miya10 commented 10 months ago

I tested the Japanese version of the code to ask “What is EC2?” (original question: EC2とは何ですか?) and verified its functionality. I used the AWS official documentation as the data source. The output for each model that supports Japanese is as follows.

OpenAI

[Original Response] Amazon EC2は、Amazon Web Services(AWS)が提供するクラウドコンピューティングサービスです。インスタンスを使用して、仮想サーバーを実行し、アプリケーションを実行したり、データを保存したりできます。 [Translated Response] Amazon EC2 is a cloud computing service provided by Amazon Web Services (AWS). You can use instances to run virtual servers, run applications, and store data.

Falcon40b

[Original Response] [1]Amazon EC2は、インターネット上のコンピューターのプロセスを行い、ユーザーに提供します。[2]Amazon EC2は、プロセスやソフトウェアをインスタンスのプロファイルで構成し、ユーザーがリクエストすると、インスタンスのプロファイルで構成したインスタンスが起動します。[3]Amazon EC2は、インスタンスのプロファイルに含まれるインスタンスストアにリンクされるインスタンスストアボリュームを持つインスタンスのストレージとして使用することができます。[4]Amazon EC2は、インスタンスプロファイルに含まれるインスタンスストアを使用することにより、インスタンスのストレージを永続化できます。 [Translated Response] [1] Amazon EC2 performs computer processes on the internet and provides them to users. [2] Amazon EC2 configures processes and software in an instance profile, and when a user makes a request, the instance configured in the instance profile is launched. [3] Amazon EC2 can be used as storage for instances that have instance store volumes linked to instance stores included in the instance profile. [4] Amazon EC2 can persist an instance’s storage by using the instance store included in the instance profile.

Claude

[Original Response] Amazon EC2 は Amazon Elastic Compute Cloud の略で、クラウド上でスケーラブルなコンピューティングサービスを提供します。 [Translated Response] Amazon EC2 is short for Amazon Elastic Compute Cloud, which provides scalable computing services in the cloud.

Claude v2

[Original Response] 資料にはAmazon EC2についての概要的な説明はありませんでした。Amazon EC2は、AWS(Amazon Web Services) が提供するクラウドコンピューティングサービスの1つで、仮想マシン(インスタンス)を作成してネットワーク上で動作させることができます。しかし資料からはそれ以上の詳細はわかりません。 [Translated Response] The document does not provide an overview of Amazon EC2. Amazon EC2 is one of the cloud computing services offered by AWS (Amazon Web Services), allowing users to create and run virtual machines (instances) on the network. However, the document does not provide further details beyond this.