Skip to content

Commit

Permalink
fix search query for new table name
Browse files Browse the repository at this point in the history
  • Loading branch information
merefield committed Aug 27, 2023
1 parent 5bdc646 commit 8b6b404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/discourse_chatbot/post_embedding_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def semantic_search(query)
SELECT
post_id
FROM
chatbot_embeddings
chatbot_post_embeddings
ORDER BY
embedding::real[] <-> array[:query_embedding]
LIMIT :limit
Expand Down

0 comments on commit 8b6b404

Please sign in to comment.