Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aljazceru/sciencestr
Nostr bot that answers scientific questions
https://github.com/aljazceru/sciencestr
nostr
Last synced: about 1 month ago
JSON representation
Nostr bot that answers scientific questions
- Host: GitHub
- URL: https://github.com/aljazceru/sciencestr
- Owner: aljazceru
- Created: 2023-10-11T08:03:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-30T22:47:48.000Z (about 1 year ago)
- Last Synced: 2024-05-02T04:39:21.256Z (8 months ago)
- Topics: nostr
- Language: Python
- Homepage:
- Size: 2.94 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://nostr.net) with [standard template construct](https://github.com/nexus-stc/stc) which hosts vast amount of academic research and other content on ipfs.## 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=""
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
![image](./screenshot2.jpg)
![image](./screenshot3.jpg)