Giter Site home page Giter Site logo

aifaq's Introduction

Hyperledger Labs

Hyperledger Labs provides a space (i.e., GitHub repos) where work can easily be started without the creation of a project. Please refer to the Hyperledger Labs wiki page for additional information.

Process to propose a new lab

  1. Fork the hyperledger-labs.github.io repository.

  2. Fill out the Proposal Template and save it into the labs subdirectory under the name of your lab, such as labs/mynewlab.md. It is expected that your lab repository will have the same name so keep that in mind.

  3. In the Proposal Template, there is an entry for sponsor(s). Although not required, proposers are encouraged to seek a sponsor who can help them create ties with the rest of the Hyperledger community and ensure that the proposal is cogent and novel (in conception, proposed execution, or interested community).

    To find sponsors:

    1. use your connections to existing projects and ask maintainers,
    2. find working groups or projects with affinities to the proposed lab and pitch the project (good to have the template already filled out) in associated channels and/or mailing lists. The WG chairs emails, the maintainers contacts etc can be found on the wiki or github. Make personal appeals if you can. Every repository contains a MAINTAINERS file that lists the current maintainers with their contact information and you can reach them all by posting to the Maintainers list.
  4. Commit your changes with proper sign-off. This means that your commit log message must contain a line that looks like the following one, with your actual name and email address:

     Signed-off-by: John Doe <[email protected]>
    

    Adding the -s flag to your git commit command will add that line automatically. You can also add it manually as part of your commit log message or add it afterwards with git commit --amend -s.

  5. Submit a Pull Request.

The labs stewards will then review your proposal. Like sponsors, stewards do not have a responsibility beyond this; ongoing work like contributing code or reviews is not tied to their role as stewards. In reviewing the proposal, the stewards make sure that the proposal is cogent and novel (in conception, proposed execution, or interested community).

IMPORTANT: It is up to the proposer to ensure that any comments or requested changes by the lab stewards are addressed. Failure to do so may delay the approval of your proposal.

Bringing in an existing repository

By default the Lab stewards will create a new repository for you to start from but if you have an existing github repo you would like to bring to your proposed lab you have the option to request for that repo to be reused instead. This is however only possible if every commit in your existing repo is signed-off so there is no DCO related issues. If that is not the case, you have two options:

  1. bring your code by squashing all of your commits into a single first commit made against your new lab repo with your sign-off.

  2. amend the commit history to include DCO sign-off for each of the commits. The Hyperledger Indy community has documented steps to fix DCO on previous commits. Also, the Fix DCO Guide from src-d contains some different steps you can take.

IMPORTANT: Regardless of which option you use, please be sure that the past committers to your project agree to the DCO.

Archiving

Stewards are responsible for curating the set of labs, archiving (see below) those that become dormant or unresponsive for an extended period (3+ months), or are explicitly deemed by the committers to be deprecated/obsoleted.

Deprecated, obsoleted, or dormant labs (as defined above) will be marked as "archived" in GitHub; that signifies that the lab is no longer maintained. Archived labs are read-only, and they can be moved back out of the archives, if there is interest in reviving them.

License requirement

All Hyperledger software must be made available under an Apache 2.0 license. This applies to Labs. Please, make sure to license all incoming code and new code accordingly, and ensure that all commits are made with proper sign-off so that no DCO related issue is introduced.

Code of Conduct

All Hyperledger community members must adhere to the Code of Conduct.

aifaq's People

Contributors

gcapuzzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aifaq's Issues

LLM Infrence speed is slow want to improve it by Groq

  • I noticed that the after asking it usually give answer very approx 2min so I was thinking to play around other LLM Infrence Model like Groq to make the output real-time.

  • Does this project active and how I can contribute to this with other open source models

  • I have setup the project on Google colab
    image

It would be great if you can guide me in the process @gcapuzzi

Feature Request: Collapsible Slide Bar for Frontend Chatbot Interface

A feature to add a collapsible slide bar in the frontend chatbot interface. This will enhance user experience by allowing users to expand or collapse the side bar as needed, providing a cleaner and more focused interface.

Requirements

  • A slide bar on the left side of the chatbot interface.
  • The slide bar should be collapsible with a toggle button.
  • When collapsed, the slide bar should hide completely or minimize to a small icon.
  • Smooth animation for expanding and collapsing the slide bar.
  • Ensure the feature is responsive and works well on both desktop and mobile devices.

Acceptance Criteria

  • A collapsible slide bar is present in the frontend chatbot interface.
  • The slide bar can be toggled open and closed by a button.
  • Smooth animations for the slide bar's collapsing and expanding actions.
  • The slide bar does not interfere with the chatbot's main functionality.
  • The feature is fully responsive on various screen sizes.
  • The UI/UX design follows the project's style guide.

Mockups / Examples

  • Include any relevant mockups or examples here to visualize the feature.

ui: Proposing a new theme for the application

This issue will track updates to the application theme. Please open pull requests here with your proposed changes, such as new colors, fonts, etc. Ensure that you use properly licensed assets only.

Feature Request : Implement JWT Authentication for Backend with SQL Database

Description:
We need to add user authentication to our backend API using JWT and store user credentials in a SQL database.

  1. Set up a SQL database to store user information:

    • Create a 'users' table with fields for username, hashed password.
  2. Implement user registration endpoint:

    • Create a /register route
    • Accept username and password in the request body
    • Hash the password before storing it in the database
    • Use SQL INSERT query to add new user to the 'users' table
    • Return appropriate success/error messages
  3. Implement user login endpoint:

    • Create a /login route
    • Use SQL SELECT query to retrieve user credentials from the database
    • Verify provided password against the stored hashed password
    • Generate a JWT token upon successful authentication
    • Return the token in the response
  4. Create JWT authentication middleware:

    • Implement a function to verify JWT tokens
    • Create a dependency that can be used to protect routes
  5. Secure relevant API endpoints:

    • Apply the JWT authentication dependency to the /query route
    • Return appropriate error messages for unauthorized access attempts

Feature Request : Implement rate limiting

Implement rate limiting in the FastAPI backend to control the number of requests a client can make within a specific time period.

Task:

  • Add rate limiting middleware to the FastAPI backend.
  • Configure rate limiting rules.

EHN: Integrate TanStack Query and Axios for efficient and reliable frontend-to-backend API communication.

Description

TanStack Query offers auto caching, auto refetching, and dedicated devtools without requiring a backend. It facilitates real-time inquiries, dependent and concurrent queries, window focus refetching, and makes data modifications easier via the Mutations API. In addition to providing infinite scroll, request cancellation, suspense integration, prefetching, offline support, SSR optimization, and data pickers, it effectively manages big datasets.

Task:

  • Set up TanStack Query for managing API calls and state.
  • Use Axios as the HTTP client for making requests to the backend.

Feature : Add CONTRIBUTING.md and requirements.txt files

It would be better to move correct requirements to a requirements.txt file with following content:

transformers
torch
gradio
bs4
safetensors
accelerate
sentencepiece
bitsandbytes
sentence-transformers
chromadb
langchain

I'd also like to create a CONTRIBUTING.md file describing how to setup the environment.

Any other recommendations @gcapuzzi ?

frontend: Revamp UI components

The following UI components need to be revamped. Note that we are using shadcn/ui and radix for the base components so we can support any first-class dependencies from there.

  • Responsive Navigation Bar
  • Dropdown Menu
  • Responsive Modals

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.