Skip to content

Commit

Permalink
Blank
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdanilowicz committed Aug 25, 2023
1 parent bdc4da8 commit 460c67a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/analysis/queries/openAI/fineTuneContact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ export type FineTuneResult = {
export async function queryIndividualContactDataForFineTuning(
db: sqlite3.Database
): Promise<FineTuneResult> {
const contactName = ''; // TODO
const q = `
SELECT text, is_from_me, human_readable_date FROM core_main_table WHERE coalesced_contact_name = "Jackie Chen" AND
SELECT text, is_from_me, human_readable_date FROM core_main_table WHERE coalesced_contact_name = "${contactName}" AND
LOWER(text) NOT LIKE "emphasized%"
AND LOWER(text) NOT LIKE "emphasised%"
AND LOWER(text) NOT LIKE "loved%"
Expand Down

0 comments on commit 460c67a

Please sign in to comment.