discourse-ai/lib/ai_bot/personas
Roman Rizzi eae527f99d
REFACTOR: A Simpler way of interacting with embeddings tables. (#1023)
* REFACTOR: A Simpler way of interacting with embeddings' tables.

This change adds a new abstraction called `Schema`, which acts as a repository that supports the same DB features `VectorRepresentation::Base` has, with the exception that removes the need to have duplicated methods per embeddings table.

It is also a bit more flexible when performing a similarity search because you can pass it a block that gives you access to the builder, allowing you to add multiple joins/where conditions.
2024-12-13 10:15:21 -03:00
..
artist.rb DEV: Fix various typos (#434) 2024-01-19 12:51:26 +01:00
creative.rb DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
dall_e_3.rb DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
discourse_helper.rb FIX: call after tool calls failing on OpenAI / Gemini (#599) 2024-05-01 17:50:58 +10:00
general.rb DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
github_helper.rb FEATURE: improved tooling (#651) 2024-05-30 06:33:50 +10:00
persona.rb REFACTOR: A Simpler way of interacting with embeddings tables. (#1023) 2024-12-13 10:15:21 -03:00
researcher.rb FEATURE: web browsing tool (#548) 2024-03-28 16:01:58 +11:00
settings_explorer.rb DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
sql_helper.rb FIX: display search correctly, bug when stripping XML (#668) 2024-06-14 15:28:40 +10:00
web_artifact_creator.rb FEATURE: allow artifacts to be updated (#980) 2024-12-03 07:23:31 +11:00