openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

Using OpenAI Latest Embeddings In A RAG System With MongoDB

Open RichmondAlake opened this issue 5 months ago • 2 comments

Summary

Briefly describe the changes and the goal of this PR. Make sure the PR title summarizes the changes effectively.

Motivation

Why are these changes necessary? How do they improve the cookbook?

The primary motivation behind these updates is to stay up to date with the latest OpenAI developments and harness the improved performance and efficiency offered by OpenAI's new embedding models. By integrating these embeddings into our RAG system, we aim to achieve:

  • Enhanced accuracy in text embeddings, leading to more relevant and precise retrievals in the RAG system.
  • Showcase the MongoDB's movies dataset for proof of concept RAG demos
  • Exploration of the expanded capabilities of OpenAI's models in diverse use-cases.

For new content

When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

  • [x] I have added a new entry in registry.yaml (and, optionally, in authors.yaml) so that my content renders on the cookbook website.
  • [x] I have conducted a self-review of my content based on the contribution guidelines:
    • [x] Relevance: This content is related to building with OpenAI technologies and is useful to others.
    • [x] Uniqueness: I have searched for related examples in the OpenAI Cookbook, and verified that my content offers new insights or unique information compared to existing documentation.
    • [x] Spelling and Grammar: I have checked for spelling or grammatical mistakes.
    • [x] Clarity: I have done a final read-through and verified that my submission is well-organized and easy to understand.
    • [x] Correctness: The information I include is correct and all of my code executes successfully.
    • [x] Completeness: I have explained everything fully, including all necessary references and citations.

We will rate each of these areas on a scale from 1 to 4, and will only accept contributions that score 3 or higher on all areas. Refer to our contribution guidelines for more details.

RichmondAlake avatar Jan 30 '24 16:01 RichmondAlake

@simonpfish can you please review this?

prakul avatar Mar 04 '24 15:03 prakul

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar May 04 '24 01:05 github-actions[bot]