Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div markdown="1" align="center">
<h1>Generative AI Use Cases (GenU)</h1>

[![](https://img.shields.io/badge/Documentation-Latest-blue)](https://aws-samples.github.io/generative-ai-use-cases-jp/index.html) [![](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/aws-samples/generative-ai-use-cases-jp/blob/main/LICENSE) [![](https://github.com/aws-samples/generative-ai-use-cases-jp/actions/workflows/node.js.yml/badge.svg)](https://github.com/aws-samples/generative-ai-use-cases-jp/actions/workflows/node.js.yml) [![](https://github.com/aws-samples/generative-ai-use-cases-jp/actions/workflows/browser-extension.yml/badge.svg)](https://github.com/aws-samples/generative-ai-use-cases-jp/actions/workflows/browser-extension.yml)
[![](https://img.shields.io/badge/Documentation-Latest-blue)](https://aws-samples.github.io/generative-ai-use-cases/index.html) [![](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/aws-samples/generative-ai-use-cases/blob/main/LICENSE) [![](https://github.com/aws-samples/generative-ai-use-cases/actions/workflows/node.js.yml/badge.svg)](https://github.com/aws-samples/generative-ai-use-cases/actions/workflows/node.js.yml) [![](https://github.com/aws-samples/generative-ai-use-cases/actions/workflows/browser-extension.yml/badge.svg)](https://github.com/aws-samples/generative-ai-use-cases/actions/workflows/browser-extension.yml)

English | [日本語](./README_ja.md)

Expand Down Expand Up @@ -206,7 +206,7 @@ We have published configuration and cost estimation examples for using GenU. (Th
| <a href="https://www.oisixradaichi.co.jp/" target="_blank"><img src="./docs/assets/images/cases/oisixradaichi_logo.png"></a> | **Oisix ra daichi Inc.** <br/> _Through the use case development project using GenU, we were able to grasp the necessary resources, project structure, external support, and talent development, which helped us clarify our image for the internal deployment of generative AI._ <br/> ・[See case page](https://aws.amazon.com/jp/solutions/case-studies/oisix/) |
| <a href="https://www.san-a.co.jp/" target="_blank"><img src="./docs/assets/images/cases/san-a_logo.png"></a> | **SAN-A CO., LTD.** <br/> _By utilizing Amazon Bedrock, our engineers' productivity has dramatically improved, accelerating the migration of our company-specific environment, which we had built in-house, to the cloud._ <br/> ・[See case details](./docs/assets/images/cases/san-a_case.png)<br/> ・[See case page](https://aws.amazon.com/jp/solutions/case-studies/san-a/) |

If you would like to have your use case featured, please contact us via [Issue](https://github.com/aws-samples/generative-ai-use-cases-jp/issues).
If you would like to have your use case featured, please contact us via [Issue](https://github.com/aws-samples/generative-ai-use-cases/issues).

## References

Expand Down
7 changes: 4 additions & 3 deletions README_ja.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div markdown="1" align="center">
<h1>Generative AI Use Cases (略称:GenU)</h1>

[![](https://img.shields.io/badge/%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88-%E6%9C%80%E6%96%B0-blue)](https://aws-samples.github.io/generative-ai-use-cases-jp/index.html) [![](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/aws-samples/generative-ai-use-cases-jp/blob/main/LICENSE) [![](https://github.com/aws-samples/generative-ai-use-cases-jp/actions/workflows/node.js.yml/badge.svg)](https://github.com/aws-samples/generative-ai-use-cases-jp/actions/workflows/node.js.yml) [![](https://github.com/aws-samples/generative-ai-use-cases-jp/actions/workflows/browser-extension.yml/badge.svg)](https://github.com/aws-samples/generative-ai-use-cases-jp/actions/workflows/browser-extension.yml)
[![](https://img.shields.io/badge/%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88-%E6%9C%80%E6%96%B0-blue)](https://aws-samples.github.io/generative-ai-use-cases/index.html) [![](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/aws-samples/generative-ai-use-cases/blob/main/LICENSE) [![](https://github.com/aws-samples/generative-ai-use-cases/actions/workflows/node.js.yml/badge.svg)](https://github.com/aws-samples/generative-ai-use-cases/actions/workflows/node.js.yml) [![](https://github.com/aws-samples/generative-ai-use-cases/actions/workflows/browser-extension.yml/badge.svg)](https://github.com/aws-samples/generative-ai-use-cases/actions/workflows/browser-extension.yml)

[English](./README.md) | 日本語

Expand Down Expand Up @@ -136,7 +136,8 @@ GenU は OSS ですので、カスタマイズして独自のユースケース

## デプロイ

> [!IMPORTANT] > [`/packages/cdk/cdk.json`](/packages/cdk/cdk.json) に記載されている `modelRegion` リージョンの `modelIds` (テキスト生成)、`imageGenerationModelIds` (画像生成) 及び `videoGenerationModelIds` (動画生成) を有効化してください。([Amazon Bedrock の Model access 画面](https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/modelaccess))
> [!IMPORTANT]
> [`/packages/cdk/cdk.json`](/packages/cdk/cdk.json) に記載されている `modelRegion` リージョンの `modelIds` (テキスト生成)、`imageGenerationModelIds` (画像生成) 及び `videoGenerationModelIds` (動画生成) を有効化してください。([Amazon Bedrock の Model access 画面](https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/modelaccess))

GenU のデプロイには [AWS Cloud Development Kit](https://aws.amazon.com/jp/cdk/)(以降 CDK)を利用します。CDK の実行環境が用意できない場合は、以下のデプロイ方法を参照してください。

Expand Down Expand Up @@ -203,7 +204,7 @@ GenU をご利用いただく際の、構成と料金試算例を公開してお
| <a href="https://www.oisixradaichi.co.jp/" target="_blank"><img src="./docs/assets/images/cases/oisixradaichi_logo.png"></a> | **オイシックス・ラ・大地株式会社** <br/> _GenU を活用したユースケースの開発プロジェクトを通して、必要なリソース、プロジェクト体制、外部からの支援、人材育成などを把握するきっかけとなり、生成 AI の社内展開に向けたイメージを明確につかむことができました。_ <br/> ・[事例のページを見る](https://aws.amazon.com/jp/solutions/case-studies/oisix/) |
| <a href="https://www.san-a.co.jp/" target="_blank"><img src="./docs/assets/images/cases/san-a_logo.png"></a> | **株式会社サンエー** <br/> _Amazon Bedrock を活用することでエンジニアの生産性が劇的に向上し、内製で構築してきた当社特有の環境のクラウドへの移行を加速できました。_ <br/> ・[事例の詳細を見る](./docs/assets/images/cases/san-a_case.png)<br/> ・[事例のページを見る](https://aws.amazon.com/jp/solutions/case-studies/san-a/) |

活用事例を掲載させて頂ける場合は、[Issue](https://github.com/aws-samples/generative-ai-use-cases-jp/issues)よりご連絡ください。
活用事例を掲載させて頂ける場合は、[Issue](https://github.com/aws-samples/generative-ai-use-cases/issues)よりご連絡ください。

## 参照

Expand Down
2 changes: 1 addition & 1 deletion browser-extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This is a browser extension that makes Generative AI Use Cases JP (abbreviated as GenU) more convenient to use.

> [!IMPORTANT]
> To use this browser extension, you need to deploy GenU in advance. First, please refer to [here](https://github.com/aws-samples/generative-ai-use-cases-jp#%E3%83%87%E3%83%97%E3%83%AD%E3%82%A4) for deployment instructions.
> To use this browser extension, you need to deploy GenU in advance. First, please refer to [here](../README.md#deployment) for deployment instructions.

![Extension Image](../docs/assets/images/extension/extension_demo.png)

Expand Down
2 changes: 1 addition & 1 deletion browser-extension/README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
こちらは、Generative AI Use Cases JP (略称:GenU) をより便利に利用するためのブラウザ拡張機能です。

> [!IMPORTANT]
> このブラウザ拡張機能を利用するためには、GenU を事前にデプロイする必要があります。まずは、[こちら](https://github.com/aws-samples/generative-ai-use-cases-jp#%E3%83%87%E3%83%97%E3%83%AD%E3%82%A4)を参考にデプロイをしてください。
> このブラウザ拡張機能を利用するためには、GenU を事前にデプロイする必要があります。まずは、[こちら](../README_ja.md#デプロイ)を参考にデプロイをしてください。

![拡張機能イメージ](../docs/assets/images/extension/extension_demo.png)

Expand Down
2 changes: 1 addition & 1 deletion browser-extension/src/app/features/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Settings: React.FC<Props> = (props) => {
<div className="text-base font-semibold mb-1">設定</div>
<div className="font-light text-aws-font-color-gray text-xs">
<div>拡張機能を利用するための設定を行います。</div>
<div>この拡張機能を利用するためには、generative-ai-use-cases-jp のデプロイが必要です。</div>
<div>この拡張機能を利用するためには、generative-ai-use-cases のデプロイが必要です。</div>
</div>

<div className="flex flex-col mt-3 gap-2">
Expand Down
6 changes: 3 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ fi
pushd /tmp

# Delete the repository in /tmp if it exists
rm -rf generative-ai-use-cases-jp
rm -rf generative-ai-use-cases

# Clone GenU
git clone https://github.com/aws-samples/generative-ai-use-cases-jp
git clone https://github.com/aws-samples/generative-ai-use-cases

pushd generative-ai-use-cases-jp
pushd generative-ai-use-cases

# Install npm packages
npm ci
Expand Down
16 changes: 8 additions & 8 deletions docs/en/DEPLOY_ON_AWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ cd cloud9-setup-for-prototyping
Once creation is complete, you will see an environment called cloud9-for-prototyping in [AWS Cloud9](https://console.aws.amazon.com/cloud9control/home). Click Open to launch the IDE.
All of the following steps will be performed in the created IDE.

## Deploying generative-ai-use-cases-jp
## Deploying generative-ai-use-cases

Execute the following commands in the Terminal at the bottom of the IDE. This will clone generative-ai-use-cases-jp and move to the working directory.
Execute the following commands in the Terminal at the bottom of the IDE. This will clone generative-ai-use-cases and move to the working directory.

```bash
git clone https://github.com/aws-samples/generative-ai-use-cases-jp
cd generative-ai-use-cases-jp/
git clone https://github.com/aws-samples/generative-ai-use-cases
cd generative-ai-use-cases/
```

Then follow the instructions in [generative-ai-use-cases-jp's README.md](/README.md#デプロイ). Below are just the commands to execute.
Then follow the instructions in [generative-ai-use-cases's README.md](/README.md#デプロイ). Below are just the commands to execute.

```bash
npm ci
Expand All @@ -39,15 +39,15 @@ npm run cdk:deploy

## Changing Deployment Options

Open `cloud9-for-prototyping/generative-ai-use-cases-jp/packages/cdk/cdk.json` and modify the items in the context. For configurable options, please refer to [here](./DEPLOY_OPTION.md).
Open `cloud9-for-prototyping/generative-ai-use-cases/packages/cdk/cdk.json` and modify the items in the context. For configurable options, please refer to [here](./DEPLOY_OPTION.md).

After changing the contents of cdk.json, save the file and run `npm run cdk:deploy`. The configuration changes will be applied upon deployment.

## Frontend Development

To use Cloud9's Preview feature, you need to listen on ports 8080 to 8082 on localhost. ([Reference](https://docs.aws.amazon.com/ja_jp/cloud9/latest/user-guide/app-preview.html)) [Vite](https://ja.vitejs.dev/), which is used for frontend development in generative-ai-use-cases-jp, uses port 5173 by default, so we need to change this.
To use Cloud9's Preview feature, you need to listen on ports 8080 to 8082 on localhost. ([Reference](https://docs.aws.amazon.com/ja_jp/cloud9/latest/user-guide/app-preview.html)) [Vite](https://ja.vitejs.dev/), which is used for frontend development in generative-ai-use-cases, uses port 5173 by default, so we need to change this.

Open `cloud9-for-prototyping/generative-ai-use-cases-jp/packages/web/package.json` and change the dev command in scripts from `vite` to `vite --port 8080`. After the change, part of package.json will look like this. (Note that you can also set the port in vite.config.ts, but we won't cover that here.)
Open `cloud9-for-prototyping/generative-ai-use-cases/packages/web/package.json` and change the dev command in scripts from `vite` to `vite --port 8080`. After the change, part of package.json will look like this. (Note that you can also set the port in vite.config.ts, but we won't cover that here.)

```json
{
Expand Down
2 changes: 1 addition & 1 deletion docs/en/DEPLOY_ON_CLOUDSHELL.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Execute the following commands in CloudShell to download the `deploy.sh` script.
After downloading, grant execution permissions to deploy.sh.

```bash
wget https://raw.githubusercontent.com/aws-samples/generative-ai-use-cases-jp/refs/heads/main/deploy.sh -O deploy.sh
wget https://raw.githubusercontent.com/aws-samples/generative-ai-use-cases/refs/heads/main/deploy.sh -O deploy.sh
chmod +x deploy.sh
```

Expand Down
2 changes: 1 addition & 1 deletion docs/en/EXTENSION_BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Node.js installation is required for building. If you haven't installed it yet,

Once prerequisites are ready, follow these steps to build.

The following steps must be executed in the root folder of `generative-ai-use-cases-jp`. Please note that you should not run them in `generative-ai-use-cases-jp/browser-extension`.
The following steps must be executed in the root folder of `generative-ai-use-cases`. Please note that you should not run them in `generative-ai-use-cases/browser-extension`.

### For users with Unix commands (Cloud9, Linux, macOS, etc.)

Expand Down
2 changes: 1 addition & 1 deletion docs/en/SAML_WITH_ENTRA_ID.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Select Create your own application.

![image-20240128121629558](../assets/SAML_WITH_ENTRA_ID/image-20240128121629558-1707115633384.png)

Enter any application name and press Create. In this example, we are using `generative-ai-use-cases-jp`.
Enter any application name and press Create. In this example, we are using `generative-ai-use-cases`.

![image-20240128121916888](../assets/SAML_WITH_ENTRA_ID/image-20240128121916888.png)

Expand Down
2 changes: 1 addition & 1 deletion docs/en/SAML_WITH_GOOGLE_WORKSPACE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ From the application settings screen, click on Add Custom SAML App.

![image-20240316233910260](../assets/SAML_WITH_GOOGLE_WORKSPACE/image-20240316233910260.png)

Enter an administrative name for Google Workspace. Any name will do. Here we'll use `generative-ai-use-cases-jp`.
Enter an administrative name for Google Workspace. Any name will do. Here we'll use `generative-ai-use-cases`.

![image-20240316234731919](../assets/SAML_WITH_GOOGLE_WORKSPACE/image-20240316234731919.png)

Expand Down
12 changes: 6 additions & 6 deletions docs/en/UPDATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ git remote -v
In the example output below, the repository managed by the aws-samples Organization (the original repository) is registered with the name "aws".

```
origin https://my-private-git-hosting-site.com/myawesomeorg/generative-ai-use-cases-jp (fetch)
origin https://my-private-git-hosting-site.com/myawesomeorg/generative-ai-use-cases-jp (push)
aws https://github.com/aws-samples/generative-ai-use-cases-jp (fetch)
aws https://github.com/aws-samples/generative-ai-use-cases-jp (push)
origin https://my-private-git-hosting-site.com/myawesomeorg/generative-ai-use-cases (fetch)
origin https://my-private-git-hosting-site.com/myawesomeorg/generative-ai-use-cases (push)
aws https://github.com/aws-samples/generative-ai-use-cases (fetch)
aws https://github.com/aws-samples/generative-ai-use-cases (push)
```

In this case, explicitly specify "aws" when pulling:
Expand All @@ -43,7 +43,7 @@ git pull aws
If the `git remote -v` result does not show the repository managed by aws-samples, add it with the following command:

```bash
git remote add aws https://github.com/aws-samples/generative-ai-use-cases-jp
git remote add aws https://github.com/aws-samples/generative-ai-use-cases
```

Now that it's registered with the name "aws", execute `git pull aws` to perform the pull.
Expand All @@ -52,7 +52,7 @@ Now that it's registered with the name "aws", execute `git pull aws` to perform

The `git pull` command performs both `git fetch` (retrieve changes) and `git merge` (incorporate changes) simultaneously.
If you want to check the changes before incorporating them, execute `fetch` and `merge` separately.
In the following commands, we assume that [aws-samples/generative-ai-use-cases-jp](https://github.com/aws-samples/generative-ai-use-cases-jp) is registered as "origin" in the remote.
In the following commands, we assume that [aws-samples/generative-ai-use-cases](https://github.com/aws-samples/generative-ai-use-cases) is registered as "origin" in the remote.
To check the remote name, run the `git remote -v` command mentioned earlier.

First, retrieve the changes with the following command:
Expand Down
8 changes: 3 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<!doctype html>
<html>
<head>
<meta
http-equiv="refresh"
content="0; url=/generative-ai-use-cases-jp/en/" />
<link rel="canonical" href="/generative-ai-use-cases-jp/en/" />
<meta http-equiv="refresh" content="0; url=/generative-ai-use-cases/en/" />
<link rel="canonical" href="/generative-ai-use-cases/en/" />
<title>Redirecting...</title>
</head>
<body>
<p>
If you are not redirected automatically, please
<a href="/generative-ai-use-cases-jp/en/">click here</a>.
<a href="/generative-ai-use-cases/en/">click here</a>.
</p>
</body>
</html>
Loading
Loading