Skip to content

iamvisshu/GPT-X

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT-X 💬 : Created by @iamvisshu - Vishal Vishwakarma

GPT-X : Leverage Public LLMs for Engaging Conversations. This is a project that demonstrates how to create a chat interface using Hugging Face models.


📃 Table of Contents

  • About GPT-X 💬
  • Technical Details
  • Installation
  • Usage
  • API
  • Contributing
  • License
  • Author

About GPT-X 💬

  • This is a project that demonstrates how to create a chat interface using Hugging Face models. This project uses open source LLM's API in backend and communicates thru its UI chat interface to send and receive data.
  • Project Structure - Refer below ⏬ image. image

🔨Technical Details:

  • HTML5
  • CSS
  • JavaScript
  • Additional libraries used: Incorporated a font-awesome icon library.

🔧Installation & Local Development:

  • Clone this repository or download it as zip.
  • Install dependencies:
    npm install
  • Install Vercel CLI globally:
    npm install -g vercel
  • Run the project locally:
    npx vercel dev

☑️ Usage:

  • Once running via vercel dev, open http://localhost:3000 in your browser.
  • Enter your prompt/query/question.
  • Wait to get response.

✈️ API:

  • Login to HuggingFace - https://huggingface.co/
  • HUGGINGFACE_API_URL - https://api-inference.huggingface.co/models
  • Choose you model. For example - openai-community/gpt2
  • Obtain the HUGGINGFACE_API_KEY
  • Test it by hitting via postman or browser.
  • !! Important !! - Hide api key using environment variables.

👫 Contributing:

We welcome contributions to this project! If you'd like to contribute, please:

  1. Fork the repository on GitHub.
  2. Make your changes and create a pull request.
  3. Follow any coding style guidelines mentioned in the code (if any).

💳 License:

  • This project is licensed under the Open-source [MIT License].

✒️ Author:

  • @iamvisshu - Vishal Vishwakarma 😇

About

GPT-X: Leverage Public LLMs for Engaging Conversations - Created by @iamvisshu - Vishal Vishwakarma.

Topics

Resources

License

Stars

Watchers

Forks

Contributors