HUB
Sign inSign up

borarohithkumar/termind-api

By borarohithkumar

•Updated 7 months ago

Image
0

140

borarohithkumar/termind-api repository overview

⁠☁️ TerMind API Engine

This is the official containerized Machine Learning backend for the TerMind Cloud CLI project.

⁠What is this?

TerMind is a Hybrid NLP-to-Bash translation engine. This Docker image contains a highly optimized FastAPI server pre-loaded with PyTorch, HuggingFace Transformers (all-mpnet-base-v2 and t5-base), and a 42,000-parameter FAISS vector database.

By baking the heavy ML models directly into the Docker layers, this container ensures zero-latency boot times and prevents massive downloads upon deployment.

⁠How to run it?

This container exposes a REST API on Port 8000. It is designed to be run in the background (detached mode).

docker run -d -p 8000:8000 borarohithkumar/termind-api:v2.0

⁠API Endpoints

Once running, the container accepts HTTP POST requests for natural language translation:

Endpoint: POST /translate

Payload:

{
  "query": "list all running docker containers"
}

Response:

{
  "query": "list all running docker containers",
  "final_command": "docker ps",
  "logic_used": "FAISS Semantic Match (High Confidence)",
  "faiss_distance_score": 0.421
}

⁠Client Integration

To use the interactive command-line interface that connects to this backend, visit the main GitHub repository: https://github.com/borarohithkumar/TerMind-CLI⁠

Tag summary
Recent tags
Content type
Image
Digest
sha256:ab747f25d…
Size
3.6 GB
Last updated
7 months ago
docker pull borarohithkumar/termind-api:v2.0