entity isolation and estimateTokenFix
This commit is contained in:
@@ -162,6 +162,13 @@ app.get('/sessions/:id/episode-stats', (req, res) => {
|
||||
res.json(episodic.getSessionEpisodeStats(Number(req.params.id)));
|
||||
});
|
||||
|
||||
//Entity IDs linked to this session's episodes: sesion-scoped entity search
|
||||
app.get('/sessions/:id/entity-ids', (req, res) => {
|
||||
res.json({
|
||||
entityIds: graph.getEntityIdsBySession(Number(req.params.id))
|
||||
})
|
||||
})
|
||||
|
||||
// Episodes newer than :afterId, chronological — the un-summarized tail.
|
||||
app.get('/sessions/:id/episodes/since/:afterId', (req, res) => {
|
||||
const episodes = episodic.getEpisodesSince(Number(req.params.id), Number(req.params.afterId));
|
||||
|
||||
Reference in New Issue
Block a user