BoxcarsAI / boxcars

Building applications with composability using Boxcars with LLM's. Inspired by LangChain.
MIT License
430 stars 39 forks source link

boxcar for vector search #60

Closed francis closed 9 months ago

francis commented 1 year ago

Now that we have embedded vector search, add a boxcar that scans search results and gives a coherent summary.

Ideally, the class would be Boxcars::VectorSearch

@jaigouk - your new additions will enable this. I want to accept the default in-memory vector store that you provided or external (Posgresql, Redis, Pinecone, ...) stores.

mculp commented 1 year ago

Can take a cue from AutoGPT. Here's their setup: https://github.com/Significant-Gravitas/Auto-GPT/tree/master/autogpt/memory

francis commented 1 year ago

👍 Great idea @mculp - I will study this approach as it solves another problem I was considering too.

jaigouk commented 1 year ago

I will check this in this weekend @francis

observations

potential tasks

gpt4all has a ticket for embeddings but it is still open.

francis commented 1 year ago

I like your thinking here @jaigouk

jaigouk commented 1 year ago

@francis https://github.com/BoxcarsAI/boxcars/pull/74 is using Boxcars::VectorStore::Document for building vectore stores and search results and Boxcars::VectorStore::Document has content, embedding and metadata. Can we close this ticket?

jaigouk commented 1 year ago

can we mark this issue as done? https://github.com/BoxcarsAI/boxcars/pull/92 is merged. @francis