mirror of
https://github.com/aljazceru/sciencestr.git
synced 2025-12-18 06:24:21 +01:00
aead2e432ba62a78e59cd2c4023031defbe34a2d
ScienceStr
Nostr bot that answers scientific questions by accessing decentralized repositories of available research papers and constructs and answer with the help of large language models.
How
Combining nostr with standard template construct which hosts vast amount of academic research and other content on ipfs.
Roadmap:
- PoC with OpenAI
- Poc with self-hosted LLM
- Add links to sources in replies
- Package in a simply deployable way
How to run
Manually
git clone https://github.com/aljazceru/sciencestr
cd sciencestr
# install dependencies
pip install requirements-api.txt
pip install requirements-bot.txt
# configure cybrex to use openai
cybrex - write-config -l openai --force
export OPENAI_API_KEY="<insert your key>"
docker run -d --name ipfs_host -v ./ipfs/staging/:/export -v .ipfs/data:/data/ipfs -p 4001:4001 -p 4001:4001/udp -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/kubo:latest
docker run -p 6333:6333 -p 6334:6334 qdrant/qdrant
python science-bot.py
python api.py
Docker-compose
(to be fixed)
git clone https://github.com/aljazceru/sciencestr
cd sciencestr
docker-compose up
Demo
Description
Languages
Python
100%

