LWC that runs LLMs locally on your computer and uses Salesforce records for context.
Read the article | Watch the demo
- Download the code from this repository.
- Navigate to the picoLLM.js static resource and update its code as described in the file.
- Deploy the code from this repository to your org.
- Add the Pico API key to the Local LLM Assistant custom metadata's Setting record. You can obtain the API key and download the models at https://picovoice.ai/.
- Open any page in Salesforce Lightning Experience and drop the component at any place on the page.
- Save and activate the page.