> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/reference/ja/bian-genglli/changelog/august-2025/use-an-ai-assistant-with-custom-python-blocks.md).

# カスタムPythonブロックでAIアシスタントを使用する

<figure><img src="/files/4e6c013cdee04a97db46de0290039bc056242b3a" alt=""><figcaption></figcaption></figure>

Custom Python ブロック内で Workflows AI Assistant を使用できるようになりました。このブロックでは、Workflow 内で実行されるカスタムコードを記述できます。

この機能を使って、Workflow 内でカスタムロジックの構築を支援できます。

この機能を使用するには、Workflow に Custom Python ブロックを追加してください。ブロックをクリックすると、質問できる AI Assistant パネルが表示されます。
