GithubHelp home page GithubHelp logo

techwithanirudh / anirudhai-api Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 4.0 4.45 MB

AnirudhAI-API is designed to offer a stable and optimized experience when interacting with language models like OpenAI's GPT-3.5 and GPT-4. Built on Express.js, this project aims to provide a reliable interface for OpenAI's API, with the added capability of using reverse proxies for potentially free access.

Home Page: https://api.techwithanirudh.com

License: GNU Affero General Public License v3.0

JavaScript 99.06% Nix 0.60% Shell 0.34%
ai openai openai-api

anirudhai-api's Introduction

AnirudhAI-API

Overview

AnirudhAI-API is designed to offer a stable and optimized experience when interacting with language models like OpenAI's GPT-3.5 and GPT-4. Built on Express.js, this project aims to provide a reliable interface for OpenAI's API, with the added capability of using reverse proxies for potentially free access. Users are fully responsible for how they use this feature.

๐Ÿšจ Compliance and Legal Notice: This project can be configured for both free and paid access to OpenAI's API. Users are solely responsible for adhering to OpenAI's terms of service. Illegal use is strictly prohibited.

Main Features

  • Express Server: The core of the project, efficiently managing incoming requests and routing them to OpenAI's API.

  • Free Access Option: While the project can be configured to use reverse proxies for potentially free access, users are liable for how they use this feature.

  • Configuration: A robust configuration file allows users to specify server settings, rate limits, and API parameters.

  • Logging: Utilizes Winston for comprehensive logging capabilities, capturing events in both the console and external files.

  • Request Forwarding: Specialized utilities forward requests to OpenAI's API, supporting both streaming and non-streaming request types.

Getting Started

  1. Clone the repository.
  2. Install dependencies using npm install.
  3. Update the configurations in config/index.js to match OpenAI's API settings.
  4. Launch the server using node index.js.

Note

Ensure you have the required API keys and configurations for OpenAI's API. You are solely responsible for any free or unauthorized usage.

anirudhai-api's People

Contributors

dependabot[bot] avatar techwithanirudh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.