-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix RAG with Generative APIs and Langchain tutorial #4047
base: main
Are you sure you want to change the base?
Conversation
WIP - fixing content and snippets not working anymore
…ing and rag prompting
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
Co-authored-by: Jessica <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved suggestions
@@ -34,28 +34,35 @@ In this tutorial, you will learn how to implement RAG using LangChain, a leading | |||
|
|||
### Install required packages | |||
|
|||
Run the following command to install the required packages: | |||
1. Run the following command to install the required Python packages: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section is now the only one in the whole tutorial having numbered steps 1. and 2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tgenaitay @fpagny we can remove the steps numbers, as we have less than 3 in the tutorial.
Sorry, I ended up forgetting to remove them yesterday after I finished the review. 🤓
…untu Adding dependencies requirements for MacOS and Debian/Ubuntu, and fixing python packages version.
``` | ||
|
||
## Embeddings and vector store setup | ||
## Setup embeddings and vector store |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Setup embeddings and vector store | |
## Set up embeddings and vector store |
|
||
By integrating Scaleway Object Storage, Managed Database for PostgreSQL with pgvector, and LangChain’s embedding tools, you have the foundation to build a powerful RAG system that scales with your data while offering robust information retrieval capabilities. This approach equips you with the tools necessary to handle complex queries and deliver accurate, relevant results efficiently. | ||
**Error**: `ERROR:root:An error occurred: bge-multilingual-gemma2 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' | ||
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>`` | |
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing ```token=<your_token>``` |
No description provided.