{"id":26048547,"url":"https://github.com/taabishhh/llm_deployment","last_synced_at":"2026-04-11T02:48:44.539Z","repository":{"id":280793468,"uuid":"887632179","full_name":"taabishhh/LLM_Deployment","owner":"taabishhh","description":"It is a Scala-based project built to demonstrate the use of gRPC, Akka HTTP, and JSON handling libraries for implementing a conversational system. The project integrates AWS SDKs, ScalaPB, and external APIs to process and handle requests efficiently.","archived":false,"fork":false,"pushed_at":"2024-12-15T05:40:48.000Z","size":239,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-13T11:50:04.892Z","etag":null,"topics":["akka-http","aws-apigateway","aws-lambda","aws-s3","docker","grpc","json","llm","scala","scalatest","slf4j"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taabishhh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-13T02:29:02.000Z","updated_at":"2025-03-03T18:36:13.000Z","dependencies_parsed_at":"2025-03-05T10:50:09.344Z","dependency_job_id":"9a21859b-9a51-4595-aca9-50dc32ac20ca","html_url":"https://github.com/taabishhh/LLM_Deployment","commit_stats":null,"previous_names":["taabishhh/llm_deployment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taabishhh/LLM_Deployment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taabishhh%2FLLM_Deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taabishhh%2FLLM_Deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taabishhh%2FLLM_Deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taabishhh%2FLLM_Deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taabishhh","download_url":"https://codeload.github.com/taabishhh/LLM_Deployment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taabishhh%2FLLM_Deployment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265563032,"owners_count":23788632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["akka-http","aws-apigateway","aws-lambda","aws-s3","docker","grpc","json","llm","scala","scalatest","slf4j"],"created_at":"2025-03-08T00:26:16.181Z","updated_at":"2026-04-11T02:48:44.534Z","avatar_url":"https://github.com/taabishhh.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# CS 441-Homework3 (UIC)\n\nIt is a Scala-based project built to demonstrate the use of gRPC, Akka HTTP, and JSON handling libraries for implementing a conversational system. The project integrates AWS SDKs, ScalaPB, and external APIs to process and handle requests efficiently.\n\n## Features\n\n- **gRPC Integration**: Implements a gRPC client and server using ScalaPB and Protobuf.\n- **Akka HTTP**: Provides REST API endpoints for interacting with the system.\n- **JSON Handling**: Supports JSON parsing and serialization using Circe and Spray JSON.\n- **AWS SDKs**: Integrates with AWS Lambda and other AWS services.\n- **Logging**: Uses SLF4J for logging, ensuring structured and detailed logs.\n- **Testing**: Includes unit tests using ScalaTest.\n\n---\n\n## Project Structure\n\n```plaintext\nExercises441/\n├── src/\n│   ├── main/\n│   │   ├── protobuf/             # Protobuf definitions for gRPC\n│   │   │   └── lambda_service.proto\n│   │   ├── resources/\n│   │   │   └── application.conf  # Configuration file\n│   │   ├── scala/\n│   │       ├── routes/           # Akka HTTP routes\n│   │       │   └── LambdaRoutes.scala\n│   │       ├── services/         # gRPC clients and additional services\n│   │       │   ├── LambdaGrpcClient.scala\n│   │       │   └── OllamaClient.scala\n│   │       ├── AppMain.scala     # Main application entry point\n│   ├── test/\n│       ├── scala/\n│       │   ├── LambdaGrpcClientSpec.scala # Tests for LambdaGrpcClient\n│       │   ├── OllamaClientSpec.scala     # Tests for OllamaClient\n├── build.sbt                     # SBT build definition\n├── Docker\n├── project/\n│   ├── plugins.sbt               # SBT plugins\n│   └── build.properties          # SBT version\n└── README.md                     # Project documentation\n```\n\n## Setup and Installation\n### Prerequisites\n- Scala 2.12.13\n- SBT 1.8.0 or higher\n- Java 11 or higher\n\n## Steps to Run\n1. Clone the Repository:\n```\ngit clone \u003crepository-url\u003e\ncd Exercises441\n```\n2. Install Dependencies: Ensure all dependencies are downloaded:\n```\nsbt update\n```\n3. Compile the Project:\n```\nsbt compile\n```\n4. Run the Application:\n```\nsbt run\n```\n5. Test the Application: Run the test suite:\n```\nsbt test\n```\n\n---\n\n## Running via Docker\n\nYou can run this project using Docker. Follow the steps below:\n\n### Build the Docker Image\n```\ndocker build -t my-scala-server .\n```\n\n### Run the Docker Container\n```\ndocker run -d -p 8080:8080 my-scala-server\n```\n\n### Verify the Container is Running\nList running containers to get the container ID:\n```\ndocker ps\n```\n\n### Access the Container Shell\nUse the container ID from the previous step to access the shell:\n```\ndocker exec -it \u003ccontainer-id\u003e sh\n```\n\n### Test the Application\nSend a request to the application using `curl`:\n```\ncurl -X POST http://localhost:8080/process-request \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"prompt\": \"Hello, can you help me?\"}'\n```\n\n---\n\n## API Endpoints\n1. POST /process-request\n- **Description**: Processes a user request and returns a response.\n- **Request Body**:\n```\n{\n  \"prompt\": \"Your query here\"\n}\n```\n- **Response Body**:\n```\n{\n  \"prompt\": \"Your query here\",\n  \"response\": \"Processed response from the system\"\n}\n```\n\nExample curl Command:\n```\ncurl -X POST http://localhost:8080/process-request \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"prompt\": \"Hello, can you help me?\"}'\n```\n\n---\n## Project Video\n\nYou can watch a demonstration of this project in the video below:\n\n[Project Video](https://www.youtube.com/watch?v=aUt2Pgsak_0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaabishhh%2Fllm_deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaabishhh%2Fllm_deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaabishhh%2Fllm_deployment/lists"}