News for hackers. Stuff that matters.
Re:A Comprehensive Guide for Building Rag-Based LLM Applicat... by jamesblonde on Thursday September 14, 2023 @11:01AM (#37509945)
I tend to agree - i haven't seen the value in existing "retriever" components in langchain and others.
Re:A Comprehensive Guide for Building Rag-Based LLM Applicat... by haxton on Thursday September 14, 2023 @02:57PM (#37513223)
My favorite example is the asana loader[0] for llama-index. It's literally just the most basic wrapper around the Asana SDK to concatenate some strings.

[0] - https://github.com/emptycrown/llama-hub/blob/main/llama_hub/...

Re:A Comprehensive Guide for Building Rag-Based LLM Applicat... by themanmaran on Friday September 15, 2023 @09:30AM (#37522663)
Yea that's langchain in a nutshell. Their postgres wrapper was the same last time I used it was pretty much

```

  def queryPostgres(client, string)
    return client.query(string)
```