Creating AI assistant with GPT and Ruby and Redis using embeddings
1–10 of 26 posts
Re: Creating AI assistant with GPT and Ruby and Redis using embeddings
#2Re: Creating AI assistant with GPT and Ruby and Redis using embeddings
#3That's gotta be a Hacker News bingo if I've ever seen one.
Re: Creating AI assistant with GPT and Ruby and Redis using embeddings
#4Are embeddings a hack? Is building out tooling and databases and APIs and companies around embeddings all going to be for naught as soon as there's a solid LLM/API with a big enough context window?
Re: Creating AI assistant with GPT and Ruby and Redis using embeddings
#5From a discussion with a friend today.. Are embeddings a hack? Is building out tooling and databases and APIs and companies around embeddings all going to be for naught as soon as there's a solid LLM/API with a big enough context window?
Expanding context seems like an approach, but if you're trying to get an answer about your company's documentation, why would you need the entirety of GPT-X?
Re: Creating AI assistant with GPT and Ruby and Redis using embeddings
#6Re: Creating AI assistant with GPT and Ruby and Redis using embeddings
#7From a discussion with a friend today.. Are embeddings a hack? Is building out tooling and databases and APIs and companies around embeddings all going to be for naught as soon as there's a solid LLM/API with a big enough context window?
I can't say I'm very well versed in all of this but I was asking my coworkers today about whether embeddings were the way forward or if doing your own training would be more beneficial. Or even yet, could you take an open source model and train it specifically on just your content; would that wield better results? Expanding context seems like an approach, but if you're trying to get an answer about your company's doc…
Here's a relevant quote: https://simonwillison.net/2023/Apr/15/ted-sanders-openai/
Re: Creating AI assistant with GPT and Ruby and Redis using embeddings
#8From a discussion with a friend today.. Are embeddings a hack? Is building out tooling and databases and APIs and companies around embeddings all going to be for naught as soon as there's a solid LLM/API with a big enough context window?
I can't say I'm very well versed in all of this but I was asking my coworkers today about whether embeddings were the way forward or if doing your own training would be more beneficial. Or even yet, could you take an open source model and train it specifically on just your content; would that wield better results? Expanding context seems like an approach, but if you're trying to get an answer about your company's doc…
Analogous, more or less, to a human with general experience (base training), experience with your code base (fine tuning), and the ability to reference the current code base directly (embedding-based search/recall). All three have a role, they are complementary rather than mutually exclusive.
Re: Creating AI assistant with GPT and Ruby and Redis using embeddings
#9Earlier quoted context omitted.
I can't say I'm very well versed in all of this but I was asking my coworkers today about whether embeddings were the way forward or if doing your own training would be more beneficial. Or even yet, could you take an open source model and train it specifically on just your content; would that wield better results? Expanding context seems like an approach, but if you're trying to get an answer about your company's doc…
The broad general training of GPT-X (and fine tuning on your content) provides context and (loosely speaking, at least) “analytical” ability, search-via-embeddings to inject material into the prompt provide exact recall of specific material, with capacity greater than the context limit. Analogous, more or less, to a human with general experience (base training), experience with your code base (fine tuning), and the a…
Re: Creating AI assistant with GPT and Ruby and Redis using embeddings
#10Earlier quoted context omitted.
I can't say I'm very well versed in all of this but I was asking my coworkers today about whether embeddings were the way forward or if doing your own training would be more beneficial. Or even yet, could you take an open source model and train it specifically on just your content; would that wield better results? Expanding context seems like an approach, but if you're trying to get an answer about your company's doc…
Every time I've asked this question the answer has been that injecting relevant content into the prompt provides much better results than attempting to fine-tune a model on your own content. Here's a relevant quote: https://simonwillison.net/2023/Apr/15/ted-sanders-openai/
Given that knowledge, as an end user it seems I would want to spend my time ensuring that the embedding data being selected is as good as possible.