๐
Himanshu Rai
@himanshuraimau
Joined on 24 May 2023
A curios engineering student
GitHub Stats
66
Followers
133
Repositories
0
Organizations
0
Gists
26
Pull Requests
6
Issues
914
Commits
0
Sponsors
9
Contributed To
27
Star Earned
Most Used Languages
56.68%
TypeScript
11.27%
JavaScript
8.31%
CSS
8.05%
HTML
5.93%
C
5.84%
Java
3.80%
Python
0.13%
Makefile
Popular Projects
Top Contributions
Top contributions made by the user in the last year.
Charts
Follow Up
Activity Graph
Contributions Calendar
Contributions made by the user in the last 365 days.
Recent Activity
8/18/2025, 4:01:46 PM
Pushed 41 commit(s) to himanshuraimau/sarvam on branch main
- Add speechtotext API support
- Refactor HTTP request methods to use makeJsonHTTPRequest for consistency across API calls
- Refactor makeMultipartRequest to utilize makeHTTPRequest for improved consistency in HTTP request handling
- Enhance makeHTTPRequest to accept content type parameter and update SpeechToText example to use new model
- Refactor error handling in API calls to utilize parseAPIError for improved consistency and clarity
- Enhance makeMultipartRequest and SpeechToTextParams to support optional language code and timestamp parameters for improved functionality
- Add support for speech-to-text translation API and update examples - Implement `makeMultipartRequestTranslate` for handling multipart requests to the speech-to-text translation API. - Introduce `SpeechToTextTranslate` and `SpeechToTextTranslateParams` types for managing translation requests and responses. - Update `README.md` to reflect the addition of speech-to-text translation functionality. - Enhance example usage in `examples/speechtotext/main.go` to demonstrate speech-to-text translation capabilities.
- Implement translation options and input validation in translation API - Introduce `TranslateOptions` struct to support customizable translation parameters such as speaker gender, mode, model, output script, and numerals format. - Add `TranslateWithOptions` method to handle translations with specified options. - Implement input length validation for different translation models to ensure compliance with API limits. - Enhance test coverage with new test cases for translation options and input validation scenarios.
- Refactor translation options to use TranslateParams struct - Replace the `TranslateOptions` struct with `TranslateParams` to streamline the translation process by consolidating input parameters. - Update `TranslateWithOptions` method to accept `TranslateParams`, enhancing clarity and usability. - Implement input length validation based on the new parameter structure. - Adjust request body construction to utilize the new `TranslateParams` fields for improved maintainability.
- Refactor translation examples to utilize TranslateParams struct - Update translation examples to replace `TranslateOptions` with `TranslateParams`, aligning with recent changes in the translation API. - Simplify the translation calls in examples by directly passing `TranslateParams` for improved clarity and consistency. - Ensure that the examples reflect the new parameter structure for better usability.
- fix ai gen tests
- Refactor model types for chat and speech-to-text APIs - Update `ChatCompletionRequest` and related functions to use `ChatCompletionModel` instead of the generic `Model` type for improved clarity. - Modify `makeMultipartRequest` and `makeMultipartRequestTranslate` to utilize specific model types: `SpeechToTextModel` and `SpeechToTextTranslateModel`. - Enhance `SpeechToTextParams` and `SpeechToTextTranslateParams` to reflect the new model types, ensuring consistency across the API. - Update example usages to align with the new model type definitions for better demonstration of functionality.
- Add language and script support with mapping functionality - Introduce `languageNameMap` and `scriptNameMap` to provide string representations for supported languages and scripts. - Implement `String()` methods for `Language` and `Script` types to facilitate easy conversion to their string names. - Update `LanguageIdentification` struct to use `Script` type instead of string for better type safety. - Modify language identification logic to map script codes to their corresponding `Script` types, enhancing clarity and consistency in the API.
- Enhance documentation with detailed comments for clarity - Add period to comments for consistency across types and functions in chat and speech-to-text files. - Improve clarity of comments in `client.go`, `languages.go`, `models.go`, `speaker.go`, `speechtotext.go`, `text.go`, and `texttospeech.go` by providing more descriptive explanations of types and methods.
- Refactor SpeechToText and SpeechToTextTranslate to use Language type - Update `LanguageCode` fields in `SpeechToText` and `SpeechToTextTranslate` structs to use the `Language` type for better type safety. - Modify `SpeechToTextParams` to accept `Language` instead of `*string` for `LanguageCode`. - Adjust API request handling to convert `Language` to `*string` as needed. - Enhance response parsing to map `LanguageCode` back to the `Language` type for consistency. - Update example usage in `examples/speechtotext/main.go` to reflect changes in `LanguageCode` handling.
- Update chat completion example to use Malayalam greeting - Replace the user message in the chat completion example from "namaskaaram" to "เดนเดฒเตเดพ, เดจเดฟเดเตเดเตพเดเตเดเต เดธเตเดเดฎเดพเดฃเตเดพ" to demonstrate support for Malayalam language input.
- Add report card, license and version badges
- Add default client functionality and package-level API usage examples
- Update README to include breaking changes notice for pre-v1 SDK development
- Update README.md
8/14/2025, 2:48:32 AM
Created New branch on himanshuraimau/http-diy branchmain
8/14/2025, 1:59:37 AM
Created New repository on himanshuraimau/http-diy
8/11/2025, 10:26:15 PM
Pushed 1 commit(s) to himanshuraimau/algo-a-day on branch main
- Add lock-free stack implementation and guide
8/10/2025, 11:12:03 PM
8/10/2025, 6:50:28 PM
Pushed 1 commit(s) to himanshuraimau/AIEngineeringLog on branch main
- Merge pull request #9 from himanshuraimau/main readuce blog 2 content
8/10/2025, 6:49:54 PM
Pushed 6 commit(s) to AI-Brewery/AIEngineeringLog on branch main
- Formatted the template library
- Update Post 2 content and styles
- Add advanced techniques image and TemplateGrid CSS styles
- Merge branch 'module-2' Merge the module-2 branch
- Merge pull request #5 from PraveenMudalgeri/main Made changes in post-2
- Merge pull request #9 from himanshuraimau/main readuce blog 2 content
8/10/2025, 6:49:54 PM
closed pull request readuce blog 2 content on AI-Brewery/AIEngineeringLog
8/10/2025, 6:49:29 PM
opened pull request readuce blog 2 content on AI-Brewery/AIEngineeringLog
8/10/2025, 6:48:52 PM
Pushed 5 commit(s) to himanshuraimau/AIEngineeringLog on branch main
- Formatted the template library
- Update Post 2 content and styles
- Add advanced techniques image and TemplateGrid CSS styles
- Merge branch 'module-2' Merge the module-2 branch
- Merge pull request #5 from PraveenMudalgeri/main Made changes in post-2
8/10/2025, 6:48:52 PM
closed pull request Made changes in post-2 on himanshuraimau/AIEngineeringLog
8/9/2025, 8:51:39 PM
starred repository sudheerj/javascript-interview-questions
8/9/2025, 8:39:33 PM
starred repository huggingface/lerobot
8/9/2025, 11:42:18 AM
Pushed 1 commit(s) to himanshuraimau/go-boilerplate on branch main
- refactor observability configuration for consistency and clarity