Go to file
Rafael dos Santos Silva 2c0f535bab
FEATURE: HyDE-powered semantic search. (#136)
* FEATURE: HyDE-powered semantic search.

It relies on the new outlet added on discourse/discourse#23390 to display semantic search results in an unobtrusive way.

We'll use a HyDE-backed approach for semantic search, which consists on generating an hypothetical document from a given keywords, which gets transformed into a vector and used in a asymmetric similarity topic search.

This PR also reorganizes the internals to have less moving parts, maintaining one hierarchy of DAOish classes for vector-related operations like transformations and querying.

Completions and vectors created by HyDE will remain cached on Redis for now, but we could later use Postgres instead.

* Missing translation and rate limiting

---------

Co-authored-by: Roman Rizzi <rizziromanalejandro@gmail.com>
2023-09-05 11:08:23 -03:00
.github/workflows Initial commit 2023-02-17 11:33:47 -03:00
app FEATURE: HyDE-powered semantic search. (#136) 2023-09-05 11:08:23 -03:00
assets FEATURE: HyDE-powered semantic search. (#136) 2023-09-05 11:08:23 -03:00
config FEATURE: HyDE-powered semantic search. (#136) 2023-09-05 11:08:23 -03:00
db FEATURE: Additional AI suggestion options (#176) 2023-09-01 17:10:58 -07:00
lib FEATURE: HyDE-powered semantic search. (#136) 2023-09-05 11:08:23 -03:00
spec FEATURE: HyDE-powered semantic search. (#136) 2023-09-05 11:08:23 -03:00
svg-icons UX: add a custom sparkles icon for AI action buttons (#44) 2023-04-20 20:41:24 +05:30
test/javascripts Initial commit 2023-02-17 11:33:47 -03:00
tokenizers FEATURE: Support for locally infered embeddings in 100 languages (#115) 2023-07-27 15:50:03 -03:00
.discourse-compatibility DEV: Pin plugin for Discourse 3.1 stable (#143) 2023-08-21 14:46:54 -03:00
.eslintrc Initial commit 2023-02-17 11:33:47 -03:00
.gitignore Initial commit 2023-02-17 11:33:47 -03:00
.prettierrc Initial commit 2023-02-17 11:33:47 -03:00
.rubocop.yml Initial commit 2023-02-17 11:33:47 -03:00
.streerc Initial commit 2023-02-17 11:33:47 -03:00
.template-lintrc.js Initial commit 2023-02-17 11:33:47 -03:00
Gemfile Initial commit 2023-02-17 11:33:47 -03:00
Gemfile.lock Initial commit 2023-02-17 11:33:47 -03:00
LICENSE Initial commit 2023-02-17 11:33:47 -03:00
README.md CHORE: Update Readme (#185) 2023-09-04 15:46:35 -03:00
package.json DEV: Update ESLint config version (#166) 2023-08-28 12:21:52 -07:00
plugin.rb FEATURE: HyDE-powered semantic search. (#136) 2023-09-05 11:08:23 -03:00
translator.yml DEV: Add Crowdin support (#108) 2023-07-15 00:56:15 +02:00
yarn.lock DEV: Update ESLint config version (#166) 2023-08-28 12:21:52 -07:00

README.md

Discourse AI Plugin

Plugin Summary

For more information, please see: https://meta.discourse.org/t/discourse-ai/259214?u=falco