NirDiamant /
RAG_Techniques
This repository showcases various advanced techniques for Retrieval-Augmented Generation (RAG) systems. Each technique has a detailed notebook tutorial.
87/100 healthLoading repository data…
alexa-samples / repository
This repository enables you to prototype an Alexa Gadget using Raspberry Pi. It includes Python-based software, sample projects, and step-by-step instructional guides that walk you through how to use key features of the Alexa Gadgets Toolkit to create new, engaging customer interactions with gadget devices.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Quickly create an Alexa Gadget using a Raspberry Pi, Python, and the Alexa Gadgets Toolkit.
If you need help getting your Raspberry Pi set up, there are a number of guides available online with instructions; you may want to follow this one. Make sure your Raspberry Pi is up-to-date with the latest updates.
Note: The examples require header pins, but you do not need to add them now. You can later or order a board that
Selected from shared topics, language and repository description—not editorial ratings.
NirDiamant /
This repository showcases various advanced techniques for Retrieval-Augmented Generation (RAG) systems. Each technique has a detailed notebook tutorial.
87/100 healthfarhanashrafdev /
This repository contains a 90-day cybersecurity study plan, along with resources and materials for learning various cybersecurity concepts and technologies. The plan is organized into daily tasks, covering topics such as Network+, Security+, Linux, Python, Traffic Analysis, Git, ELK, AWS, Azure, and Hacking. The repository also includes a `LEARN.md
94/100 healthTo create a gadget that works with your Echo device, you first need to register a new gadget in the Alexa Voice Service Developer Console.
Sign in to the Alexa Voice Service Developer Console. If you don't already have a developer account, create one.
If you haven't registered an AVS product in the past, click GET STARTED.
Click PRODUCTS, and then click CREATE PRODUCT.
Fill out the requested information, select Alexa Gadget as the product type, and then click FINISH.
In the pop-up, click OK.
You will be taken to a list of your products. Click on the gadget you just created.
At the top, you'll see an Amazon ID and Alexa Gadget Secret. You'll need these for the following steps to create your Alexa Gadget. Keep this ID and Secret private because they uniquely identify your gadget.
To learn more, refer to Register a Gadget in the Alexa Gadgets Toolkit documentation.
To setup your Raspberry Pi as an Alexa Gadget, you will need to download and install some Python and Debian packages. To run the following commands, you will need to be connected to your Pi via SSH or VNC, or be running them directly using a keyboard, mouse, and monitor connected to your Pi. Make sure your Pi is connected to the internet.
Download Alexa-Gadgets-Raspberry-Pi-Samples repo from GitHub using one of the following ways:
Using git clone:
git clone https://github.com/alexa/Alexa-Gadgets-Raspberry-Pi-Samples.git
scp command
scp -r Alexa-Gadgets-Raspberry-Pi-Samples pi@192.168.0.1:~/Alexa-Gadgets-Raspberry-Pi-Samples
Note: Replace 192.168.0.1 with the IP address of your Pi.
Using GitHub Web UI:
Alexa-Gadgets-Raspberry-Pi-Samples-master.zip file:
unzip Alexa-Gadgets-Raspberry-Pi-Samples-master.zip
scp command
scp -r Alexa-Gadgets-Raspberry-Pi-Samples-master pi@192.168.0.1:~/Alexa-Gadgets-Raspberry-Pi-Samples
Note: Replace 192.168.0.1 with the IP address of your Pi.
Once you have the Alexa-Gadgets-Raspberry-Pi-Samples repo on your Pi, go into the Alexa-Gadgets-Raspberry-Pi-Samples folder
cd /home/pi/Alexa-Gadgets-Raspberry-Pi-Samples/
Here, you will find the launch.py script which is the single point of entry for setting up your gadget and launching the example projects.
To setup your gadget, run the launch script with --setup argument, which will let you configure your gadget's credentials; install & update the libraries for Bluetooth, protobuf, interacting with GPIOs, etc; and configure the transport mode (Classic Bluetooth / BLE).
sudo python3 launch.py --setup
Note: Since the gadget needs a reliable Bluetooth connection with the Echo device, the A2DP Bluetooth profile will be disabled as part of the setup. If you would like to re-enable it please follow the Troubleshooting guide below.
If you already have registered your gadget using the Registering a gadget in the Alexa Voice Service Developer Console section, you can press y and enter your gadget's Amazon ID and Alexa Gadget Secret so that the setup script automatically configures all the examples with your gadget's credentials.
The Pi will update and install the Debian & Python dependencies.
For the gadget to successfully communicate with your Echo device over BLE, a modification to the bluez-5.50 is needed to enable notification callbacks after reconnection with a paired Echo device. The launch script will enable you to download the bluez-5.50 package, modify it, and install it to your Pi. To use Alexa Gadgets Raspberry Pi Samples you will need to read and agree to the Terms and Conditions. If you agree, enter 'AGREE' else enter 'QUIT' to quit the installation.
Once all the dependencies are installed, you will be asked to choose the transport mode to use to communicate with the Echo device. You can enter 'BT' if you would like to choose Classic Bluetooth, or you can enter 'BLE' to choose Bluetooth Low Energy.
Once the launch script configures the gadget based on the transport mode selected, a SUCCESS message will be printed.
If you're using Pi in Desktop mode (using Pi with a display), you should disable the Pi Bluetooth menu to prevent two bluetooth clients (your gadget script and the Pi Bluetooth client) handling the bluetooth connections at the same time (which might lead to connectivity issues). To disable the Pi Bluetooth menu right click on bluetooth icon on the top right of your screen, select Remove "Bluetooth" From Panel and reboot your Pi.
The best way to get familiar with creating your own gadget, is to reference the example projects that are a part of this project.
You can find example projects in the /home/pi/Alexa-Gadgets-Raspberry-Pi-Samples/src/examples folder. The Kitchen Sink example is a great place to start.
Projects include:
To run a gadget example you can use the launch script with --example argument as follows:
sudo python3 launch.py --example example_name
The example_name defines the name of the example located in the /home/pi/Alexa-Gadgets-Raspberry-Pi-Samples/src/examples folder.
For the launch script to be able to correctly identify your example using the example_name, the names of the example folder and the script (along with its .ini config file) should have the same name.
For e.g. the folder structure for the Kitchen sink example looks as follows:
...
|-- examples
|-- kitchen_sink
|-- kitchen_sink.py
|-- kitchen_sink.ini
...
...
You can also launch an example by providing the path to the example's python script as follows:
sudo python3 launch.py --example path/to/example.py
Note: Please ensure that your example script also has a .ini config file accompanying it. Please follow the specifications for the .ini config file mentioned in the Configuration section.
This Python software enables the creation of an Alexa Gadget by handling the connection of the gadget to an Echo device over Classic Bluetooth or Bluetooth Low Energy, and responding to messages based on the Alexa Gadget Toolkit capabilities you specify.
Each gadget you create, including the examples, requires a configuration file that specifies the Amazon ID and Alexa Gadget Secret you created in the Alexa Voice Service Developer Console, as well as a specification of the capabilities of your gadget.
In each example, there is a .ini file that includes this information. For example, the Kitchen Sink gadget's configuration looks like:
[GadgetSettings]
amazonId = YOUR_GADGET_AMAZON_ID
alexaGadgetSecret = YOUR_GADGET_SECRET
[GadgetC
AkashSingh3031 /
Dive into this repository, a comprehensive resource covering Data Structures, Algorithms, 450 DSA by Love Babbar, Striver DSA sheet, Apna College DSA Sheet, and FAANG Questions! 🚀 That's not all! We've got Technical Subjects like Operating Systems, DBMS, SQL, Computer Networks, and Object-Oriented Programming, all waiting for you.
96/100 healthawsdocs /
Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below.
90/100 healthchiphuyen /
This repository contains code examples for the Stanford's course: TensorFlow for Deep Learning Research.
41/100 healthwisdompeak /
This repository contains the solutions and explanations to the algorithm problems on LeetCode. Only medium or above are included. All are written in C++/Python and implemented by myself. The problems attempted multiple times are labelled with hyperlinks.
80/100 health