An innovative AI-powered chatbot that simulates realistic conversations with celebrities using state-of-the-art open-source large language models.
Develop an advanced conversational AI platform that enables users to interact with virtual representations of celebrities, leveraging sophisticated natural language processing and machine learning technologies.
- Hyper-realistic celebrity personality simulation
- Context-aware conversational intelligence
- Deep learning-powered response generation
- Diverse celebrity persona library
- Customizable interaction parameters
- Multi-domain celebrity representations (Entertainment, Sports, Politics, Science)
- Open-source LLM integration
- Real-time personality trait modeling
- Adaptive communication algorithms
- Processor: 8+ CPU cores
- RAM: 16+ GB
- Storage: 60+ GB
- Recommended: NVIDIA CUDA-compatible GPU
- Python 3.11+
- Node.js 20.16.0+
- Flask
- SQLAlchemy
- Ollama
- Llama3/Gemma/Mistral LLMs
git clone https://github.com/yourusername/AI-Celebrity-Chatbot.git
cd AI-Celebrity-Chatbot
python -m venv venv
source venv/bin/activate # Unix/macOS
# venv\Scripts\activate # Windows
pip install -r requirements.txt
# Windows (WSL2 required)
curl -fsSL https://ollama.com/install.sh | sh
# Verify Installation
ollama --version
ollama pull mistral # Balanced performance (default)
ollama pull llama3 # Creative responses
ollama pull gemma # Efficient processing
ollama pull starcoder # Technical expertise
#### Verify models are installed
ollama list
AI-Celebrity-Chatbot/
βββ abilities/
β βββ llm.py
β βββ migrations.py
β βββ __init__.py
βββ instance/
β βββ database.db
βββ migrations/
β βββ database.sql
βββ static/
β βββ css/
β β βββ styles.css
β βββ js/
β βββ chat.js
β βββ header.js
β βββ home.js
βββ templates/
β βββ chat.html
β βββ home.html
β βββ partials/
β βββ _desktop_header.html
β βββ _header.html
β βββ _mobile_header.html
βββ app_init.py
βββ main.py
βββ models.py
βββ routes.py
βββ requirements.txt
# Start development server
python main.py
Here I will help you to deploy Server and Ollama on Spheron using Spheron Protocol CLI πͺ
You should have this before you start deploying on Spheron:
curl
curl -sL1 https://sphnctl.sh | bash
After installation, verify the installation by using a simple command to check the Spheron version:
sphnctl version # or `sphnctl -h` for help
sphnctl wallet create --name <your-wallet-name>
Replace <your-wallet-name>
with your desired wallet name. Here is an example of how the result will look:
Created account xxx:
path: root/.spheron/<your-wallet-name>.json
address: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
secret: xxxxxxxxxx
mnemonic: xxxxxx xxxxx xxxx xxxxx xxxxx xxxx xxxxx xxxxx
Important: Make sure to securely save the mnemonic phrase and key secret provided.
You will need some token to deploy on Spheron. Visit the Spheron Faucet to obtain test tokens for deployment.
After receiving the tokens, you can check your wallet balance with:
sphnctl wallet balance --token USDT
Here is an example of how the result will look:
Current ETH balance: 0.00011 (used for gas fee)
Total USDT balance: 35 (used to buy the lease)
Deposited USDT balance
unlocked: 100.0000
locked: 0.0000
Deposit USDT to your escrow wallet for deployment:
sphnctl payment deposit --amount 20 --token USDT
sphnctl wallet balance --token USDT
deploy the deploy.yml
configuration file on Spheron:
sphnctl deployment create deploy.yml
Here is an example of how the result will look:
Validating SDL configuration.
SDL validated.
Sending configuration for provider matching.
Create deployment tx: [Tx Hash]
Waiting for providers to bid on the deployment order...
Bid found.
Order matched successfully.
Deployment created using wallet xxxxxxxxxxxxxxxxxxxxxxx
lid: xxxx
provider: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
agreed price: 0.30
Sending the manifest for deploymentβ¦
Deployment manifest sent, waiting for acknowledgment.
Deployment is finished.
'lid' is used access the deployment,lid also means lease id
To get details about your deployment, including the URL, ports, and status, run:
sphnctl deployment get --lid <lease-id>
Replace the <lease-id>
with your actual Lease ID, you obtained after deployment.
You will get a url that is your deployment link
This project couldn't be there if they didn't be there!
This project is licensed under the MIT License.
Revolutionizing Digital Interactions, One Celebrity at a Time π