python:jupyterlab:jupyter_ai

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
python:jupyterlab:jupyter_ai [2024/03/18 00:46] – [開発インストール] ともやんpython:jupyterlab:jupyter_ai [2024/04/27 04:13] (現在) – [pipx] ともやん
行 25: 行 25:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<font color="#FF8700"><b>$</b></font> <font color="#26A269">pipx</font> inject jupyterlab ai21 anthropic boto3 cohere qianfan langchain-google-genai gpt4all huggingface_hub ipywidgets pillow langchain_nvidia_ai_endpoints openai+<font color="#FF8700"><b>$</b></font> <font color="#26A269">pipx</font> inject jupyterlab ai21 anthropic boto3 cohere qianfan langchain-google-genai gpt4all huggingface_hub ipywidgets pillow langchain_nvidia_ai_endpoints langchain-openai
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
行 51: 行 51:
   injected package <b>langchain-nvidia-ai-endpoints</b> into venv <b>jupyterlab</b>   injected package <b>langchain-nvidia-ai-endpoints</b> into venv <b>jupyterlab</b>
 done! ✨ 🌟 ✨ done! ✨ 🌟 ✨
-  injected package <b>openai</b> into venv <b>jupyterlab</b>+  injected package <b>langchain-openai</b> into venv <b>jupyterlab</b>
 done! ✨ 🌟 ✨ done! ✨ 🌟 ✨
 </pre></html></WRAP> </pre></html></WRAP>
行 70: 行 70:
 | [[https://huggingface.co/|Hugging Face Hub]]  |    | <html><code>huggingface_hub</code></html>    | <html><code>HUGGINGFACEHUB_API_TOKEN</code></html> | <html><code>huggingface_hub</code></html>, <html><code>ipywidgets</code></html>, <html><code>pillow</code></html> | | [[https://huggingface.co/|Hugging Face Hub]]  |    | <html><code>huggingface_hub</code></html>    | <html><code>HUGGINGFACEHUB_API_TOKEN</code></html> | <html><code>huggingface_hub</code></html>, <html><code>ipywidgets</code></html>, <html><code>pillow</code></html> |
 | [[https://www.nvidia.com/en-us/ai-data-science/|NVIDIA]]  | NVIDIA AI             | <html><code>nvidia-chat</code></html>        | <html><code>NVIDIA_API_KEY</code></html>           | <html><code>langchain_nvidia_ai_endpoints</code></html> | | [[https://www.nvidia.com/en-us/ai-data-science/|NVIDIA]]  | NVIDIA AI             | <html><code>nvidia-chat</code></html>        | <html><code>NVIDIA_API_KEY</code></html>           | <html><code>langchain_nvidia_ai_endpoints</code></html> |
-| [[https://platform.openai.com|OpenAI]]  |              | <html><code>openai</code></html>             | <html><code>OPENAI_API_KEY</code></html> [[https://platform.openai.com/api-keys|API keys - OpenAI API]]           | <html><code>openai</code></html>                        | +| [[https://platform.openai.com|OpenAI]]  |              | <html><code>openai</code></html>             | <html><code>OPENAI_API_KEY</code></html> [[https://platform.openai.com/api-keys|API keys - OpenAI API]]           | <html><code>langchain-openai</code></html>                        | 
-| OpenAI (chat)  |       | <html><code>openai-chat</code></html>        | <html><code>OPENAI_API_KEY</code></html>           | <html><code>openai</code></html>                        |+| OpenAI (chat)  |       | <html><code>openai-chat</code></html>        | <html><code>OPENAI_API_KEY</code></html>           | <html><code>langchain-openai</code></html>                        |
 | [[https://aws.amazon.com/sagemaker/|SageMaker]]  | Amazon SageMaker          | <html><code>sagemaker-endpoint</code></html> | N/A                        | <html><code>boto3</code></html>                         | | [[https://aws.amazon.com/sagemaker/|SageMaker]]  | Amazon SageMaker          | <html><code>sagemaker-endpoint</code></html> | N/A                        | <html><code>boto3</code></html>                         |
 </WRAP> </WRAP>
行 180: 行 180:
 公式: [[https://jupyter-ai.readthedocs.io/en/latest/contributors/index.html#development-install|Development install - Contributors — Jupyter AI documentation]] [[gtr>https://jupyter-ai.readthedocs.io/en/latest/contributors/index.html#development-install|翻訳]]\\ 公式: [[https://jupyter-ai.readthedocs.io/en/latest/contributors/index.html#development-install|Development install - Contributors — Jupyter AI documentation]] [[gtr>https://jupyter-ai.readthedocs.io/en/latest/contributors/index.html#development-install|翻訳]]\\
  
-[[linux:anyenv|anyenv]] で **Node.js** をインストールする🤔\\ 
 [[python:jupyterlab|JupyterLab]] をインストールする🤔\\ [[python:jupyterlab|JupyterLab]] をインストールする🤔\\
  
行 4306: 行 4305:
 Installing collected packages: accessible-pygments, mdit-py-plugins, pydata_sphinx_theme, myst_parser Installing collected packages: accessible-pygments, mdit-py-plugins, pydata_sphinx_theme, myst_parser
 Successfully installed accessible-pygments-0.0.4 mdit-py-plugins-0.4.0 myst_parser-2.0.0 pydata_sphinx_theme-0.15.2 Successfully installed accessible-pygments-0.0.4 mdit-py-plugins-0.4.0 myst_parser-2.0.0 pydata_sphinx_theme-0.15.2
 +</pre></html></WRAP>
 +</WRAP>
 +
 +==== Python 3.12 環境を試す場合🤔 ====
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#FF8700"><b>$</b></font> <font color="#26A269">git</font><font color="#999999"> clone https://github.com/jupyterlab/jupyter-ai.git</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +Cloning into &apos;jupyter-ai&apos;...
 +remote: Enumerating objects: 4239, done.
 +remote: Counting objects: 100% (957/957), done.
 +remote: Compressing objects: 100% (350/350), done.
 +remote: Total 4239 (delta 723), reused 732 (delta 591), pack-reused 3282
 +Receiving objects: 100% (4239/4239), 8.08 MiB | 1.56 MiB/s, done.
 +Resolving deltas: 100% (2766/2766), done.
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#FF8700"><b>$</b></font> <font color="#26A269">mamba</font> c<font color="#999999">reate </font><font color="#A347BA">-n</font><font color="#999999"> jupyter-ai_py312 </font><font color="#A347BA">-c</font><font color="#999999"> conda-forge python=3.12 nodejs=20</font>
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
  • python/jupyterlab/jupyter_ai.1710690370.txt.gz
  • 最終更新: 2024/03/18 00:46
  • by ともやん