跳转到主要内容

category

Image created by DALL·E 3

In this tutorial we will create a personal local LLM assistant, that you can talk to. You will be able to record your voice using your microphone and send to the LLM. The LLM will return the answer with text AND speech.

Here is how the app works:

You can find the code in this GitHub repo:
https://github.com/amirarsalan90/personal_llm_assistant

The main components of the app include:

llama-cpp-python

Llama-cpp-python is a python binding for the great llama.cpp , which implements many Large Language Models in C/C++ . Because of its wide adoption…