Skip to content

Commit

Permalink
Support dash embedding (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
imsitnikov authored Jun 28, 2024
1 parent abfb153 commit ca66beb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/new/entry/get-entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const getEntry = async (
}

const {checkEmbeddingAvailability} = registry.common.functions.get();
await checkEmbeddingAvailability(embeddingInfo.chart[EntryColumn.TenantId] as string);
await checkEmbeddingAvailability(embeddingInfo.entry[EntryColumn.TenantId] as string);
}

const isEmbedding = Boolean(embeddingInfo);
Expand Down
2 changes: 1 addition & 1 deletion src/types/ctx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type UserCtxInfo = {
export type EmbeddingInfo = {
token: EmbeddingToken;
embed: EmbedModel;
chart: JoinedEntryRevisionColumns;
entry: JoinedEntryRevisionColumns;
};

export type CtxInfo = {
Expand Down

0 comments on commit ca66beb

Please sign in to comment.