We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7339ee3 commit 0f4d110Copy full SHA for 0f4d110
src/apis/semanticSearchPostgresDocs.ts
@@ -31,6 +31,10 @@ const zEmbeddedDoc = z.object({
31
headerPath: z
32
.array(z.string())
33
.describe('The path to the header of the documentation entry.'),
34
+ sourceUrl: z
35
+ .string()
36
+ .url()
37
+ .describe('The URL of the documentation entry.'),
38
content: z.string().describe('The content of the documentation entry.'),
39
tokenCount: z
40
.number()
@@ -76,6 +80,7 @@ export const semanticSearchPostgresDocsFactory: ApiFactory<
76
80
SELECT
77
81
id::int,
78
82
header_path AS "headerPath",
83
+ source_url AS "sourceUrl",
79
84
content,
85
token_count::int AS "tokenCount",
86
embedding <=> $1::vector(1536) AS distance
0 commit comments