Simple Llama UI is a comprehensive chat application utilizing AI language models with streaming support. It provides a simple yet powerful interface for integrating AI chat functionality.
🔗 Website: simple-llama-ui.vercel.app
- AI Language Model API Integration
- Streaming and Standard Chat Modes
- Extensible Plugin Architecture
- Cross-Platform Compatibility
- Flexible Configuration Options
// Initialize chat context
const ctx = initChat(apiKey, options);
// Send chat message (standard mode)
async function postChatText(text, ctx, options);
// Send chat message (streaming mode)
async function streamChatText(text, ctx, chunkHandler, options);
- Web server
- API Key (OpenAI/Llama/Custom)
- Node.js
- npm or yarn
- Copy files to web server
- Copy
js/config.templete.js
tojs/config.js
- Replace
API_KEY
with your preferred AI model API key - Customize
HEADER_ELEMENT
(optional)
- Browser:
server_url/index.html
(standard/stream modes) - Test URLs:
server_url/test/test_small.html
(no communication test)server_url/test/test_large.html
(communication test)
- UI Improvements
- Streaming Support
- Basic Error Handling
- Context Management
-
Message Compaction Algorithm
- Simple removal from start
- Preserve system role
- Retain system role and first exchange
- Preserve high-information exchanges
- Develop information density assessment
- Summarize past interactions
-
Token Management
- Display token count
- Adjust token limits dynamically
- Handle context length constraints
-
Error Handling
- Standardized error messages
- Separate error role
- Improve user-friendly error communication
-
Refactoring
- Add comments
- Implement JSDoc standards
- Configurable debug logging
- Enhance configuration flexibility
Ethereum Address: 0x3A06322e9F1124F6B2de8F343D4FDce4D1009869
- Ethereum (ETH)
- USDT
- USDC
- 📢 Telegram: t.me/RektDevelopers
- 🌐 Website: scripters.shop
MIT License
Your One-Stop Shop for AI Tools & Plugins
- 🤖 AI Models
- 🧩 Plugins
- 💻 Developer Tools
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
For questions, issues, or collaboration:
- Open a GitHub Issue
- Join our Telegram Community
- Email: support@scripters.shop
Made with ❤️ by Rekt Developers