Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

small fixes to system prompt in data-table

Louis Beaumontc5a9fb92988b
diff --git a/pipes/data-table/package.json b/pipes/data-table/package.json
index 1aeafcf6f..4ef67dfcb 100644
--- a/pipes/data-table/package.json
+++ b/pipes/data-table/package.json
@@ -1,6 +1,6 @@
{
"name": "data-table",
- "version": "0.1.6",
+ "version": "0.1.7",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
diff --git a/pipes/data-table/src/components/search-command.tsx b/pipes/data-table/src/components/search-command.tsx
index adf5ab483..dcc49c7aa 100644
--- a/pipes/data-table/src/components/search-command.tsx
+++ b/pipes/data-table/src/components/search-command.tsx
@@ -83,6 +83,7 @@ export function SearchCommand() {
- Return results ordered by timestamp DESC
- Limit results to 100 rows by default
- Use JOIN operations to correlate data across different sources
+ - Do not add \`\`\`sql to the beginning or end of the query, we'll execute your query directly
Core Tables:
@@ -140,6 +141,7 @@ export function SearchCommand() {
- Full-text search: Using _fts tables with MATCH
- App/window context: Filtering by app_name/window_name
- Tagged content: JOIN with tags tables
+ - Join audio transcriptions with speakers to get the speaker name
`,
},
{
@@ -156,7 +158,7 @@ export function SearchCommand() {
let sql = completion.choices[0].message.content!;
// Remove SQL code fence markers if present
- sql = sql.replace(/```sql\n?|\n?```/g, "").trim();
+ sql = sql.trim().replace(/```sql\n?|\n?```/g, "").trim();
setSqlQuery(sql);
// Here you would execute the SQL query
diff --git a/pipes/notion/package.json b/pipes/notion/package.json
index 493f98cde..d0074f5ac 100644
--- a/pipes/notion/package.json
+++ b/pipes/notion/package.json
@@ -1,6 +1,6 @@
{
"name": "notion",
- "version": "0.1.11",
+ "version": "0.1.12",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
diff --git a/pipes/notion/src/components/notion-settings.tsx b/pipes/notion/src/components/notion-settings.tsx
index 093ca7b88..2f777957c 100644
--- a/pipes/notion/src/components/notion-settings.tsx
+++ b/pipes/notion/src/components/notion-settings.tsx
@@ -45,7 +45,7 @@ export function NotionSettings() {
const [testingLog, setTestingLog] = useState(false);
const [testingIntelligence, setTestingIntelligence] = useState(false);
const [localSettings, setLocalSettings] = useState<Partial<Settings> | null>(
- {},
+ {}
);
useEffect(() => {
@@ -285,7 +285,16 @@ export function NotionSettings() {
}
/>
<p className="text-xs text-muted-foreground">
- this is required when you are connecting automatically
+ this is required when you are connecting automatically. you can
+ find your workspace name{" "}
+ <a
+ href="https://www.notion.so/settings/workspace-settings"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="text-blue-400 underline"
+ >
+ here
+ </a>
</p>
</div>
<div className="space-y-2">