-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Add QA with Langchain of AnalyticDB vector store and OpenAI example. #374
Add QA with Langchain of AnalyticDB vector store and OpenAI example. #374
Conversation
Thanks, I'll take a look. What's your goal for this contribution? |
Also, what kind of feedback are you looking for? If you think it's in good shape, I'll spend less time reviewing it before merging. |
So sorry if my commit message wasn't clear enough in conveying my intentions. I think it's in good shape, This notebook presents how to implement a Question Answering system with LangChain, AnalyticDB and OpenAI embeddings. This example mainly consists of the following main steps.
|
examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb
Outdated
Show resolved
Hide resolved
examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb
Outdated
Show resolved
Hide resolved
examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb
Outdated
Show resolved
Hide resolved
examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb
Show resolved
Hide resolved
examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb
Outdated
Show resolved
Hide resolved
examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb
Outdated
Show resolved
Hide resolved
examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb
Outdated
Show resolved
Hide resolved
examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb
Outdated
Show resolved
Hide resolved
examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb
Outdated
Show resolved
Hide resolved
examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb
Outdated
Show resolved
Hide resolved
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.
Looks great. I didn't run the whole thing myself, as I didn't want to go through the trouble of setting up a DB. I left some suggestions mostly on wording and formatting. Happy to merge once addressed. Thank you!
31d2786
to
57340b2
Compare
4199400
to
d12cb6c
Compare
Thank you for your feedback! I've addressed your suggestions regarding wording and formatting. Thank you once again for your guidance and support, and I look forward to our continued collaboration. |
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.
Didn't check carefully, but I trust you addressed the changes and are happy with the final result. Will merge.
Add QA with Langchain of AnalyticDB vector store and OpenAI example.
Hi there,I hope you're doing well.
I'm excited to open this PR. This is another example of using a fully Postgres syntax compatible database 'AnalyticDB' as a datastore to build QA with Langchain and OpenAI APIs.
As AnalyticDB can be used with Langchain directly for now. This example is a better case for user who want to use 'AnalyticDB' as a vector store.
I would really appreciate your feedback.