Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Co-Pilot: Stream Response and Vector Chunk Search Draft #176

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

Vivek-Lahole
Copy link
Contributor

@Vivek-Lahole Vivek-Lahole commented Jul 22, 2024

Description 📣

Type ✨

  • Bug fix
  • New feature
  • Breaking change
  • Documentation

Tests 🛠️

# Here's some code block to paste some code snippets


async (transactionManager: EntityManager) => {
// async chat(chatId: string, message:string, context: ChatContext): Promise<ChatResponse> {
// return await this.atomicPhase_(
// async (transactionManager: EntityManager) => {
Copy link
Contributor

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?

Copy link
Contributor Author

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(
Copy link
Contributor

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?

Copy link
Contributor Author

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,
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no dont need that

@louismurerwa louismurerwa enabled auto-merge (squash) July 23, 2024 19:37
@louismurerwa louismurerwa merged commit 6dea823 into main Jul 23, 2024
2 checks passed
@louismurerwa louismurerwa deleted the co-pilot-chat branch July 23, 2024 19:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants