尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Conversational chatbot to answer questions about AI Safety & Alignment based on information retrieved from the Alignment Research Dataset
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗The Stampy conversational chatbot answers questions about AI Safety & Alignment based on information retrieved from the Alignment Research Dataset (ARD). The project has 2 components:
api/ Backend API - Given a user's query and chat history, the most semantically similar chunks are retrieved from the vector store then a large language model is prompted to answer the query based on the retrieved context. The generated answer is returned along with cited sources.
web/ Frontend GUI - Web app that calls the backend API and displaying the conversation flow.
With the recent development in AI, growing concern and interest in AI Safety & Alignment is coupled with tons of information and misinformation. Sifting through all the text while trying to identify quality sources is a daunting barrier for entry. Stampy not only strives to provide quality information but also allows people to contribute while learning. The FAQs are hand curated and limited by volunteer bandwidth. This chatbot leverages LLM to synthesize & summarize the ever expanding literature.
In the api/ directory, rename .env.example to .env. Edit this file and
fill in the placeholder values with valid credentials. Message the
#stampy-dev channel on the Rob Miles AI
Discord if you need help with this.
Install npm, python 3.11, and pipenv.
Install dependencies for the API:
cd api # from repository root
pipenv install --dev --ignore-pipfile
Install dependencies for the web UI:
cd web # from repository root
npm install
Some things (e.g. logging) require a database connection to work correctly. To make this easier, there is a script to set one up locally via Docker. To get this working:
./local_db.shThis should start the database, make sure it's up to date, then as a final step display a command that will allow you to connect to it directly if you want to.
Open two terminal windows. In the first, run:
cd api
pipenv run python3 main.py
In the second, run:
cd web
npm run dev
In the second window, a URL will be printed. Probably http://localhost:3000.
Paste this into your browser to see the app.
The prototypes below were developed in response to a bounty on LessWrong. The teams collaborated and key features were combined into one project.