Skip to content
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

Updated QA notebook #6801

Merged
merged 2 commits into from
Jun 29, 2023
Merged

Conversation

HashemAlsaket
Copy link
Contributor

Description: all_metadatas was not defined, OpenAIEmbeddings was not imported,
Issue: #6723 the issue # it fixes (if applicable),
Dependencies: lark,
Tag maintainer: @vowelparrot , @dev2049

@vercel
Copy link

vercel bot commented Jun 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Jun 29, 2023 10:42pm

Copy link
Collaborator

@rlancemartin rlancemartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -79,7 +79,8 @@
"chunk_size = 500\n",
"chunk_overlap = 0\n",
"text_splitter = RecursiveCharacterTextSplitter(chunk_size=chunk_size, chunk_overlap=chunk_overlap)\n",
"all_splits = text_splitter.split_documents(md_header_splits)"
"all_splits = text_splitter.split_documents(md_header_splits)\n",
"all_metadatas = [{\"source\": \"notion\"}, {\"source\": \"google-docs\"}]"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: we can actually remove all_metadatas now b/c the splitter populates it for us.

@rlancemartin rlancemartin merged commit 5861770 into langchain-ai:master Jun 29, 2023
13 of 14 checks passed
@HashemAlsaket HashemAlsaket deleted the qa_doc_update branch June 29, 2023 22:44
@HashemAlsaket HashemAlsaket restored the qa_doc_update branch June 29, 2023 22:54
vowelparrot pushed a commit that referenced this pull request Jul 4, 2023
Description: `all_metadatas` was not defined, `OpenAIEmbeddings` was not
imported,
Issue: #6723 the issue # it fixes (if applicable),
Dependencies: lark,
Tag maintainer: @vowelparrot , @dev2049

---------

Co-authored-by: rlm <pexpresss31@gmail.com>
aerrober pushed a commit to aerrober/langchain-fork that referenced this pull request Jul 24, 2023
Description: `all_metadatas` was not defined, `OpenAIEmbeddings` was not
imported,
Issue: langchain-ai#6723 the issue # it fixes (if applicable),
Dependencies: lark,
Tag maintainer: @vowelparrot , @dev2049

---------

Co-authored-by: rlm <pexpresss31@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants