-
Notifications
You must be signed in to change notification settings - Fork 38
Co-Pilot: Stream Response and Vector Chunk Search Draft #176
Conversation
async (transactionManager: EntityManager) => { | ||
// async chat(chatId: string, message:string, context: ChatContext): Promise<ChatResponse> { | ||
// return await this.atomicPhase_( | ||
// async (transactionManager: EntityManager) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this uncommented code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no we dont need it , just a heads up we need to make all transactrion for the method , yet to be implemented
}, | ||
data_points: hits, | ||
}; | ||
// const { completionRequest, thoughts } = await this.baseRun( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Vivek-Lahole do we still need this uncommented block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes , need to clean that up for a non-streaming response
}); | ||
} | ||
|
||
// setChatMessages(prevChatMessages => [...prevChatMessages, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Vivek-Lahole do we still need this too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no dont need that
Description 📣
Type ✨
Tests 🛠️
# Here's some code block to paste some code snippets