{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"オンプレミス・デプロイメント","projectTitle":"Tisane Developer Documentation","description":"Tisane is an NLP platform, used for content moderation & more."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"オンプレミスデプロイメント","__idx":0},"children":["オンプレミス・デプロイメント"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tisaneウェブサービスは、Tisane Labsのパブリッククラウドのほか、お客様の施設内、プライベートコールセンター、またはプライベートクラウドにデプロイすることができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オンプレミスにインストールされるAPIメソッドは、当社のパブリッククラウドのものと同じです。（参考：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/tisane-api-short"},"children":["Tisane APIリファレンス"]},"。）認証ヘッダーは必要ありません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オンプレミスライセンスは場合に応じて発行されます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://tisane.ai/on-prem"},"children":["お客様の必要事項については当社までお問い合わせください"]},"。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["プロセス内コンポーネントとしてのTisaneの統合については、こちらを参照：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdks"},"children":["Tisane Embedded SDKs"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"必要事項","__idx":1},"children":["必要事項"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["遅延読み込み"]},": 50 Mb固定 + 50～100 Mb（言語モデルあたり）"," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["完全読み込み"]},": 400 Mbから2 Gbの間（言語モデルあたり）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["もっと読む：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdks/lazyloading"},"children":["遅延読み込みと完全読み込みの比較"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"linux","__idx":2},"children":["Linux"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Linux用Tisaneウェブサービスは、ウェブサービスとして動作し、オプションでデーモンとして動作するセルフホスト実行ファイル（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tisane"]},"）です。複数のインスタンスを、同じ言語データベース、同じマシン、同じコンフィギュレーションで実行することができます。各インスタンスは個別のポートを必要とします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"必要事項-1","__idx":3},"children":["必要事項"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Kernel バージョン6.0.0+"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"コマンドラインパラメータ","__idx":4},"children":["コマンドライン・パラメータ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["パラメータなし"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["簡単なテストを実行し、結果を出力して終了します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["-port"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["指定されたポートをリッスンしているサービスを、以下のパラメータで起動します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["パラメータ1"]},"：有効なポート番号"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["-parse"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["1回のパースの呼び出しを起動し、その結果を以下のパラメータで出力します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["パラメータ1"]},"：言語コード"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["パラメータ2"]},"：コンテンツ"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["パラメータ3"]},"：設定（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{}"]},"で囲う）"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["-transform"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["1回の変換呼び出しを起動し、その結果を以下のパラメータで出力します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["パラメータ1"]},"：ソース言語コード"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["パラメータ2"]},"：ターゲット言語コード"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["パラメータ3"]},"：コンテンツ"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["パラメータ4"]},"：設定（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{}"]},"で囲う）"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["--version"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ランタイムバージョンを出力する。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"構成","__idx":5},"children":["構成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["TisaneのLinux設定ファイルは",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://en.wikipedia.org/wiki/TOML"},"children":["TOML形式"]},"を使用します。すべての設定は*[main]*セクションにあります。設定は以下の通りです。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["path"]},"（文字列、必須） - Tisaneのデータファイルがあるフォルダ。相対パスで十分なので、同じフォルダ内であれば ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["./"]},"でも有効です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["preload"]},"（文字列の配列、オプション） - 起動時にすべて読み込まれる言語コード。残りは遅延読み込み（オンデマンドローディング）を使用します。複数の言語が頻繁に使用される環境でない限り、プリロードする言語モデルは1つか2つ以下にすることをお勧めします。こちらもお読みください。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdks/lazyloading"},"children":["遅延読み込みと完全読み込みの比較"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["daemon"]},"（ブーリアン型、オプション） -  ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["true"]},"の場合、Tisaneはデーモン（サービス）として起動されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["limit"]},"（整数、オプション） - リクエストの最大長をバイト数で指定します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["例："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"[main]\npath = \"./\"\npreload = [\"en\", \"es\"]\ndaemon = true\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dockerを使用する場合は、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["daemon"]},"オプションを使用しないでください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"インストール","__idx":6},"children":["インストール"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-port"]},"パラメータを指定して起動すると、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tisane"]},"はHTTPリクエストを受け付け、応答します。インストールするには、システム起動時に実行ファイルが起動するようにします。最も簡単な方法は、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["systemd"]},"スイートを使用することです。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tisaneウェブサービスの複数のインスタンスを起動するため、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["systemd"]},"を設定するためのBashスクリプトを提供する：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/assets/install.ebdd18c8e1b55848d88b64f18891a81d574b9d0b85efed12cf7367791139abc8.a532ac60.sh"},"children":["install.sh"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["その他のBashヘルパースクリプト："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["実行中のすべてのTisaneインスタンスを停止する：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/assets/stop.c29959afd378d5e35547e52b895e1ff658e298c9f82604b2234e90686d5a1d83.a532ac60.sh"},"children":["stop.sh"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["systemd"]},"が管理するTisaneのインスタントを開始：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/assets/startall.beb101fe607f243640001bc6feff9dbfd0a592c9b96d0e47efb349b6c7f99d41.a532ac60.sh"},"children":["startall.sh"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"installshパラメータ","__idx":7},"children":["install.shパラメータ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["パラメータ："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["-f : tisane zipファイルへのパス（パッケージのインストールまたはアップデート）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["-p : サービスの開始を希望する、コンマで区切られたポートのリスト"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["-d : tisaneをデーモンとして実行したくない場合は、これを「simple」に設定し、設定ファイルを更新します。（このパラメータを変更しないことが推奨されます。デフォルトはデーモンのフォーキングです）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["-u : このオプションを使用すると、古いファイルをすべて消去し、実行中のサービスをすべて停止して、Tisaneを強制的にインストールしようとします。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"アップデート","__idx":8},"children":["アップデート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アップデートするには："]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["対象の言語データベースに接続されている、実行中のTisaneインスタンスをシャットダウンします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アップデートをデプロイしてください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["インスタントを再度開始してください。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ご要望に応じて、配布と監視のためのその他のBashスクリプトもご利用いただけます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"windows","__idx":9},"children":["Windows"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tisane RuntimeはWindowsサービスのASP.NETアプリケーションです。Tisane Runtimeはサービスとしてのみ動作します。複数のインスタンスを異なるポートで同じマシン上で実行できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インスタンスがインストールされると、以下のスクリーンショットのように、Windowsサービス管理コンソールからアクセスできるようになります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/tisanewindowsservices.6d69769a9d8d3a2eab33327be4bca8d00b54015097783f9e5f8404559e6ee879.9bb1daa4.png","alt":"Tisane Windows services"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tisane Runtimeはセルフホストで、外部のウェブサーバー（IIS、Apache、nginxなど）を必要としません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"必要事項-2","__idx":10},"children":["必要事項"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ASP.NET Core Runtime 8+"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://dotnet.microsoft.com/en-us/download/dotnet/8.0"},"children":["Download .NET 8.0"]}," (.NET Runtime package is required as well)"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"インストール-1","__idx":11},"children":["インストール"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ASP.NET Code 8+と.NET Runtime 8+がインストールされていることを確認してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["サーバーにフォルダを作成してください（例：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["C:\\Tisane"]},"）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["バイナリ用にサブフォルダを作成してください（例：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["C:\\Tisane\\bin"]},"）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tisaneバイナリと設定ファイル（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Tisane.Runtime.Service.dll.config"]},"）を実行可能サブフォルダにコピーします。RocksDBライブラリ用の",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["native"]},"サブフォルダを忘れないようにしてください。Linux版とは異なり、サービスが実行されるポートを設定するために設定ファイルに依存するため、各インスタンスは独自のフォルダを持つ必要があります。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Tisane.Runtime.Service.exe -i"]},"を実行してインストールしてください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["言語モデルを設定で指定されたフォルダ（例： ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["C:\\Tisane"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["C:\\Tisane\\db"]},"）にコピーします。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"コマンドラインパラメータ-1","__idx":12},"children":["コマンドライン・パラメータ"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-i"]}," - 現在のフォルダーにあるバイナリーに新しいサービスをインストールする"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-u"]}," - 現在のフォルダにリンクされているサービスをアンインストールする"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-r"]}," - 現在のフォルダにリンクされているサービスを再インストールする"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"構成-1","__idx":13},"children":["構成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["設定ファイル（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Tisane.Runtime.Service.dll.config"]},"）は標準のConfiguration Manager形式（XML）のファイルで、Tisaneサービスの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["appSettings"]},"セクションで使用される設定が含まれています。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DbPath"]}," - （必須）Tisaneのデータファイルがあるフォルダ。絶対パスは、末尾は必ず ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\\"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/"]},"にします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Port"]}," - （必須）サービスを実行するポート。使用中しないでください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PreloadLanguages"]}," - 起動時に完全にロードする言語コードのカンマ区切りリスト。残りは遅延読み込み（オンデマンドローディング）を使用します。複数の言語が頻繁に使用される環境でない限り、プリロードする言語モデルは1つか2つ以下にすることをお勧めします。こちらもお読みください。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdks/lazyloading"},"children":["遅延読み込みと完全読み込みの比較"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["例："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"xml","header":{"controls":{"copy":{}}},"source":"<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<configuration>\n  <appSettings>\n      <add key=\"DbPath\" value=\"C:\\Tisane\\\" />\n      <add key=\"Port\" value=\"3780\" /> <!-- run on port 3780 -->\n      <add key=\"PreloadLanguages\" value=\"en,fr\" /> <!-- preload English and French -->\n   </appSettings>\n</configuration>\n","lang":"xml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"アップデート-1","__idx":14},"children":["アップデート"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["すべてのTisaneサービスをシャットダウンします。外部アプリケーションがTisaneのデータファイルやバイナリにアクセスしていないことを確認してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["新しいTisaneファイルを既存のファイルの上にコピーしてください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["サービスを再度開始してください。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["既存の設定ファイルを上書きしない"]},"ように注意してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"推奨されるプラクティス","__idx":15},"children":["推奨されるプラクティス"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tisaneはスレッドセーフなので、複数の呼び出し元が同じインスタンスに接続できます。複数の言語モデルを読み込む場合は、インスタンス数を少なくすることが有効です。それでも、同時リクエスト数を適度に保つことが推奨されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["経験上、4コア8GBのマシンで3インスタンスがベストバランスです。"]}]},"headings":[{"value":"オンプレミス・デプロイメント","id":"オンプレミスデプロイメント","depth":1},{"value":"必要事項","id":"必要事項","depth":2},{"value":"Linux","id":"linux","depth":2},{"value":"必要事項","id":"必要事項-1","depth":3},{"value":"コマンドライン・パラメータ","id":"コマンドラインパラメータ","depth":3},{"value":"構成","id":"構成","depth":3},{"value":"インストール","id":"インストール","depth":3},{"value":"install.shパラメータ","id":"installshパラメータ","depth":4},{"value":"アップデート","id":"アップデート","depth":3},{"value":"Windows","id":"windows","depth":2},{"value":"必要事項","id":"必要事項-2","depth":3},{"value":"インストール","id":"インストール-1","depth":3},{"value":"コマンドライン・パラメータ","id":"コマンドラインパラメータ-1","depth":4},{"value":"構成","id":"構成-1","depth":3},{"value":"アップデート","id":"アップデート-1","depth":3},{"value":"推奨されるプラクティス","id":"推奨されるプラクティス","depth":2}],"frontmatter":{"seo":{"title":"オンプレミス・デプロイメント"}},"lastModified":"2025-06-30T05:16:22.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/guides/deployment/onprem","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}