easy ai chat system
本项目利用Gemma2模型构建的简易版ai聊天机器人
本项目采用LangChain框架,结合Gemma2大型语言模型,构建了一个简单的对话系统并用webui显示出来,这个只是一个很简易的系统,大家可以在此基础上随意发挥想象力进行二次开发。
使用说明:要提前安装好ollama等一系列基座开发平台并且下载好gemma2模型,我的电脑是MacBook air m2 16GB版本。然后安装langchain相应的环境,最后运行app.py就行。
このプロジェクトは、Gemma2モデルを使用して構築されたシンプルなAIチャットボットです。
LangChainフレームワークとGemma2大規模言語モデルを組み合わせ、シンプルな対話システムを構築し、WebUIで表示しています。これは非常に基本的なシステムであり、皆様の想像力を活かして自由に拡張開発することができます。
使用方法:事前にOllamaなどの一連の基盤開発プラットフォームをインストールし、Gemma2モデルをダウンロードしておく必要があります。私のコンピューターはMacBook Air M2 16GBバージョンです。その後、LangChain関連の環境をインストールし、最後にapp.pyを実行するだけです。
This project is a simple AI chatbot built using the Gemma2 model.
The project uses the LangChain framework combined with the Gemma2 large language model to create a simple dialogue system displayed through a WebUI. This is a very basic system, and everyone is encouraged to use their imagination for secondary development based on this foundation.
Instructions: You need to install Ollama and other necessary development platforms in advance and download the Gemma2 model. My computer is a MacBook Air M2 16GB version. Then install the corresponding LangChain environment, and finally just run app.py.