|
|
|
|
|
by jarulraj
997 days ago
|
|
Neat AI app! 1. What feature extractor is used to derive code embeddings? 2. Would support for more complex queries be useful inside the app? --- Retrieve a subset of code snippets
SELECT name
FROM snippets
WHERE file_name LIKE "%py" AND author_name LIKE "John%"
ORDER BY
Similarity(
CodeFeatureExtractor(Open(query)),
CodeFeatureExtractor(data)
)
LIMIT 5;
|
|
support for more complex queries could be useful, but probably not using a query language since that would make it more difficult to use free-form text input.
You can already use it using an API: https://kantord.github.io/SeaGOAT/0.27.x/server/#understandi... so probably the best way to add support for more complex queries would be to have additional query parameters, and also to expose those flags/options/features through the CLI