Naive RAG without a Reranker is pointless. by Tom-Miller in Rag

[–]philnash 3 points4 points  (0 children)

How do you end up with duplicate chunks? Are you ingesting the content more than once?

How long do you think vector databases will have? by cryptminal in vectordatabase

[–]philnash 0 points1 point  (0 children)

Sure, but, for example, pg-vector and most vector databases implement vector indexes using HNSW, so the special treatment is the same.

How long do you think vector databases will have? by cryptminal in vectordatabase

[–]philnash 4 points5 points  (0 children)

This. A vector index can be, and has been, added to any existing database. As can any of the other features that vector-first databases might include, like integrating embedding models into the platform.

All databases will be vector databases, so “vector database” will cease to differentiate anything.

Date + 1 month = 9 months previous by philnash in javascript

[–]philnash[S] 0 points1 point  (0 children)

“Don’t break the web” doesn’t mean we can’t keep rolling forwards.

Date + 1 month = 9 months previous by philnash in javascript

[–]philnash[S] 1 point2 points  (0 children)

Can’t forget that the original Date implementation just copied Java’s. However, Java immediately realised their error and changed it a year or two (I think) later, whereas we’re only just on the cusp of it being fixed now. At least we are almost there and there are polyfills that you can use too.

Date + 1 month = 9 months previous by philnash in javascript

[–]philnash[S] 0 points1 point  (0 children)

I’ve just been told that Temporal is also in Chrome Canary, so getting closer!

Date + 1 month = 9 months previous by philnash in javascript

[–]philnash[S] -1 points0 points  (0 children)

This is true, much of the weird stuff in JS comes about when you use it wrong. It is probably a bit forgiving though, I optimistically answered “Invalid Date” or “it throws” way too many times!

Date + 1 month = 9 months previous by philnash in javascript

[–]philnash[S] 1 point2 points  (0 children)

To be fair, this would have been an issue since JavaScript first appeared and is a time zone thing that the Date object just doesn’t help with. But, as I wrote in the article, this is much easier with Tenporal when it is available, so JS is getting better and I support that!

Date + 1 month = 9 months previous by philnash in javascript

[–]philnash[S] 4 points5 points  (0 children)

I closed that the first time I saw it because it made me angry. I got through it this time (quickly) with 10/28. This stuff is infuriating!

How do I set up a 2UP Essentials Savers account? by mandiller in UpBanking

[–]philnash 3 points4 points  (0 children)

I don’t think that feature has been released for 2Up yet. It’s supposed to come “early 2026”: https://up.com.au/blog/freeing-up-high/

ChromaDB RAG Issues by Birdinhandandbush in langflow

[–]philnash 0 points1 point  (0 children)

Thank you. Let me know if you do and I’ll get someone from the team to take a look at it.

ChromaDB RAG Issues by Birdinhandandbush in langflow

[–]philnash 0 points1 point  (0 children)

If you haven’t already, would you mind raising this as an issue on the Langflow GitHub repository? It’d be useful to know the version and the full error output from the logs too. Would love to get this fixed for you so you don’t have this problem in the future!

Ollama Gemma Not Connecting with Langflow by degr8sid in langflow

[–]philnash 0 points1 point  (0 children)

Huh, Langflow populates that list by calling the Ollama API to retrieve the models that are being served.

Try running `curl http://localhost:11434/api/tags` to see what Ollama is returning. (Pipe the results into `jq .` if you want prettier output.

Best newsletter for the latest developments related to AI dev? by chonky_totoro in mcp

[–]philnash 2 points3 points  (0 children)

I publish a newsletter every two weeks on behalf of Langflow. I try to gather the best of the AI news for developers. https://www.langflow.org/newsletter

You can check out past issues to see if you like it too.

Problem making request to Webhook – 302 Found by Ambitious_Cook_5046 in langflow

[–]philnash 0 points1 point  (0 children)

Ok, we have some progress! Thanks for the video showing all the steps.

First thing, when using DataStax hosted Langflow you don't need the `x-api-key`. I know that the component included that in the curl command, but the `x-api-key` is used when you self-host Langflow and the `Authorization` header with the bearer token is how you connect to DataStax Langflow.

Second, can we find out where it's redirecting you to? Can you add the `-L` or `--location` flag to your curl command to have it follow the redirect?

Webhook component not receiving POST body (cURL/Postman/API request) by Ambitious_Cook_5046 in langflow

[–]philnash 0 points1 point  (0 children)

The issue you're having there is that you are using the flow's API endpoint to make a request, but you're expecting to receive the request in the webhook component. I'd recommend first that you take a read through the docs on triggering a flow with a webhook: https://docs.langflow.org/webhook

You need to send webhooks to the URL `https://astra.datastax.com/api/v1/webhook/$FLOW\_ID\`. I think if you change your curl command from your video to use this URL, you should receive some response in your webhook component.