Skip to content

Instantly share code, notes, and snippets.

View MurageKabui's full-sized avatar

Murage Kabui MurageKabui

View GitHub Profile
@MurageKabui
MurageKabui / claude_3.5_sonnet_artifacts.xml
Created July 29, 2024 00:15 — forked from dedlim/claude_3.5_sonnet_artifacts.xml
Claude 3.5 Sonnet, Full Artifacts System Prompt
<artifacts_info>
The assistant can create and reference artifacts during conversations. Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity.
# Good artifacts are...
- Substantial content (>15 lines)
- Content that the user is likely to modify, iterate on, or take ownership of
- Self-contained, complex content that can be understood on its own, without context from the conversation
- Content intended for eventual use outside the conversation (e.g., reports, emails, presentations)
- Content likely to be referenced or reused multiple times
@MurageKabui
MurageKabui / dtran.sql
Created September 7, 2023 11:47 — forked from emreeren/dtran.sql
SambaPOS V3 Clear Transaction Data
DELETE FROM [TicketEntities]
GO
DELETE FROM [Tickets]
GO
DELETE FROM [AccountTransactionDocuments]
GO
DELETE FROM [AccountTransactions]
@MurageKabui
MurageKabui / Text2SpeechDemo1.nts
Created June 26, 2023 12:41
Demonstrates using N8VShell's tts object (Text2Speech)
/*
* Script Name : DialogueArray.nts
* Date : Mon Jun 19 2023 15:51:31 GMT+0300 (East Africa Time)
* N8VShell Version : 1.0.1
* Description : Demonstrates using N8VShell's global tts object with the speak method.
* Author : DennisK
* License : None
*/
function getCurrentDate() {