Skip to content

Commit

Permalink
prepare TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
spolu committed Sep 6, 2023
1 parent 2501655 commit f8f750a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion front/lib/api/assistant/actions/retrieval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ export async function* runRetrieval(
topK: params.topK,
};

// TODO(spolu): create the AgentRetrievalAction object in the database here.

const config = cloneBaseConfig(
DustProdActionRegistry["assistant-v2-retrieval"].config
);
Expand Down Expand Up @@ -501,5 +503,6 @@ export async function* runRetrieval(
}
}

// Documents are set with a dummy ModelId, now we need to create the actual objects in DB.
// TODO(spolu): create the RetrievalDocument[Chunk] objects in the database here.
// TODO(spolu): emit success event with fully materialized RetrievalActionType.
}

0 comments on commit f8f750a

Please sign in to comment.