Skip to content

Commit

Permalink
fix: rm logs
Browse files Browse the repository at this point in the history
  • Loading branch information
amiller68 committed May 2, 2024
1 parent 3ab4c11 commit 48d81b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/Chat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ export default defineComponent({
let searchResultMessages = [];
let searchResults = await knowledgeStore.searchDocuments(lastMessage.content, chatTags);
searchResults.forEach((result) => {
console.log('pages::Chat.vue::generatePersonaMessage - embedding search result', result);
searchResultMessages.push({
role: 'search-result',
content: result.content,
Expand Down Expand Up @@ -342,7 +341,6 @@ export default defineComponent({
// Really these search results should get attached to the message that
// lead to them being queried
if (message.searchResults) {
console.log('pages::Chat.vue::generatePersonaMessage - embedding search results', message.searchResults);
message.searchResults.forEach((result) => {
ret.push({
role: 'search-result',
Expand All @@ -367,7 +365,7 @@ export default defineComponent({
// Set the target to the user
username,
// set to false to disable logging
true,
false,
)) {
let stopped = output.stopped;
let content = output.content;
Expand Down

0 comments on commit 48d81b5

Please sign in to comment.