-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
223 additions
and
63 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
tags: | ||
- yugioh | ||
- game | ||
--- | ||
> 遊戯王メタの大会デッキテーマ割合を示す図は、「デッキ分布図つくるマシーン」というChrome拡張機能を使用して作成できます[3]。この拡張機能は元々ポケモンカードゲーム用に開発されましたが、遊戯王にも応用可能です。以下に手順を示します: | ||
> | ||
> 1. Chrome ウェブストアから「デッキ分布図つくるマシーン」をインストールします。 | ||
> | ||
> 2. 遊戯王OCGの公式デッキ作成ツールを使用して、各デッキテーマを1枚のカードとして入力します。例えば、ドレミコードデッキが18人いた場合、ドレミコードを代表するカードを18枚選択します[3]。 | ||
> | ||
> 3. カード名の代わりにデッキテーマ名を使用したい場合は、カード画像下のテキストボックスで変更できます[3]。 | ||
> | ||
> 4. データ入力後、ツールバーの「デッキ分布図つくるマシーン」アイコンをクリックするか、ページ上で右クリックして「デッキ分布図を作成」を選択します[3]。 | ||
> | ||
> 5. ポップアップウィンドウでグラフのタイトル、その他の割合、ラベルの有無、背景色の有無を調整できます[3]。 | ||
> | ||
> 6. 「ダウンロード」ボタンをクリックして、PNG形式の画像としてデッキ分布図を保存します[3]。 | ||
> | ||
> この方法を使用すれば、遊戯王メタの大会デッキテーマ割合を視覚的に分かりやすく表現できます。 | ||
> | ||
> Citations: | ||
> [1] https://gachi-matome.com/trend-yugioh/ | ||
> [2] https://note.com/masaduel/n/n1ef04fe5d880 | ||
> [3] https://note.com/tilanosaur/n/n1594c11c6ea5 | ||
> [4] https://img.yugioh-card.com/japan/event/jcs/2024/data/rules.pdf | ||
> [5] https://appmedia.jp/master_duel/27515352 | ||
> [6] https://snkrdunk.com/articles/15825/ | ||
> [7] https://game8.jp/yugioh-masterduel/423817 | ||
https://www.perplexity.ai/search/yugioh-metanoda-hui-notetukite-jftORyVZSd6PfBT.2H9BmA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- https://www.reddit.com/r/yugioh/comments/p9znfj/app_for_hosting_a_local_tournament/ | ||
- `challonge` | ||
- |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
tags: | ||
- workflow | ||
- knowledge | ||
--- | ||
![[knowledge_workflow.png]] | ||
|
||
Note: | ||
- [[PKM]]として[[Workflowy]]と[[]] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions
65
content/thoughts/Regarding the use of APIs for AI services.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
aliases: | ||
- AIサービスのAPI利用に関して | ||
--- | ||
OpenAIとClaudeのAPIを利用する際の主な特徴と手順を以下にまとめます。 | ||
|
||
## OpenAI API | ||
|
||
1. アカウント登録: OpenAIのウェブサイトでアカウントを作成します[4]。 | ||
|
||
2. APIキーの取得: 開発者ダッシュボードからAPIキーを生成します[1]。 | ||
|
||
3. 支払い方法の登録: APIを利用するには有料プランへの登録が必要です[4]。 | ||
|
||
4. モデルの選択: プロジェクトに適したモデル(例:GPT-4、DALL·E)を選びます[1]。 | ||
|
||
5. 実装: | ||
```python | ||
import openai | ||
openai.api_key = 'YOUR_API_KEY' | ||
response = openai.ChatCompletion.create( | ||
model="gpt-3.5-turbo", | ||
messages=[{"role": "user", "content": "こんにちは"}] | ||
) | ||
``` | ||
|
||
## Claude API | ||
|
||
1. Anthropicにサインアップ: Anthropicの開発者向けページでアカウントを作成します[2][3]。 | ||
|
||
2. APIキーの取得: ダッシュボードから「Create Key」をクリックしてAPIキーを生成します[3]。 | ||
|
||
3. ライブラリのインストール: | ||
```bash | ||
pip install anthropic | ||
``` | ||
|
||
4. 実装: | ||
```python | ||
import anthropic | ||
client = anthropic.Anthropic(api_key="YOUR_API_KEY") | ||
message = client.messages.create( | ||
model="claude-3-haiku-20240307", | ||
max_tokens=100, | ||
messages=[{"role": "user", "content": "こんにちは"}] | ||
) | ||
print(message.content) | ||
``` | ||
|
||
両APIとも、高度な自然言語処理機能を提供しますが、インターフェースや利用可能なモデルが異なります[6]。APIの選択は、プロジェクトの要件や予算に応じて行うことが重要です。 | ||
|
||
Citations: | ||
[1] https://book.st-hakky.com/data-science/chatgpt-api-for-businessperson/ | ||
[2] https://chatgpt-lab.com/n/n7a179846cc6e | ||
[3] https://notai.jp/librechat/ | ||
[4] https://fixel.co.jp/blog/openai-api/ | ||
[5] https://qiita.com/nekkoneko/items/a81c121251918f107199 | ||
[6] https://tech-blog.abeja.asia/entry/llm-service-interface-diversity-202408 | ||
[7] https://gizumo-inc.jp/media/openai-api-with-php/ | ||
[8] https://weel.co.jp/media/innovator/claude-api/ | ||
[9] https://qiita.com/Isaka-code/items/b50983796636503b44c5 | ||
[10] https://apidog.com/jp/blog/claude-3-api-tutorial/ | ||
|
||
--- | ||
- https://www.perplexity.ai/search/aisahisunoapili-yong-niguan-si-drimV5_KRsCbDhg5kqR6nQ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
tags: | ||
- iaas | ||
- technology | ||
--- | ||
y-ohgiさんによる [Terraformで構築するAWS](https://y-ohgi.com/introduction-terraform/) がわかりやすく、入門時に非常に参考にさせてもらいました。 | ||
|
||
- 関連 | ||
- [Terraformとは - Terraformで構築するAWS](https://y-ohgi.com/introduction-terraform/first/about/) | ||
- [y-ohgi/introduction-terraform-example: 新卒研修で使うTerraform入門ハンズオン](https://github.com/y-ohgi/introduction-terraform-example) | ||
- |