Remix.run Logo
ayhanfuat 3 days ago

Isn't Claude Code's selling point that it doesn't use embeddings?

joshuanapoli 3 days ago | parent | next [-]

I don’t think that “Claude Code” is relevant to this semantic grep tool.

Runonthespot 3 days ago | parent [-]

bear in mind that Claude Code by default uses grep - if you watch you'll see if it's looking for something it doesn't know the name of, it flails around with different patterns. Try this tool, tell CC to take a look using ck --help and take it for a spin.

CC in my case likes it so much, it started using it to debug the repo rather than grep and suggesting its own additions

Runonthespot 3 days ago | parent | next [-]

Note that it’s grep AND semantic - so Claude can start with a grep strategy and if it finds nothing can switch to semantic, and since it’s local and fast, it keeps in sync easily enough

brookst 3 days ago | parent | prev [-]

How do you tell CC to use it? Just as an entry in Claude.md?

Runonthespot 3 days ago | parent [-]

To start with just tell it- but yes Claude.md works too.

“We have a new grep semantic hybrid tool installed called ck - check it out using ck --help and take it for a spin”

dsiegel2275 3 days ago | parent | prev [-]

Why would "not using embeddings" be a selling point? Some of the most effective IR systems use embeddings (bi-encoders, cross-encoders)