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

Add RFP Response generation workflow #438

Merged
merged 9 commits into from
Oct 14, 2024
Merged

Conversation

jerryjliu
Copy link
Contributor

add a full notebook to generate a response given an RFP

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@@ -0,0 +1,1096 @@
{
Copy link
Contributor

@logan-markewich logan-markewich Oct 14, 2024

Choose a reason for hiding this comment

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

Line #155.                    docs = [Document.parse_obj(json.loads(line)) for line in f]

Not: parse_obj is deprecated in pydantic, should be docs = [Document.model_validate_json(line) for line in f] I think


Reply via ReviewNB

@@ -0,0 +1,1096 @@
{
Copy link
Contributor

@logan-markewich logan-markewich Oct 14, 2024

Choose a reason for hiding this comment

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

Line #9.        timeout=1800,  # set a high timeout to make sure it completes

Could also set timeout=None if you don't need a timeout, but up to you


Reply via ReviewNB

Copy link
Contributor

@logan-markewich logan-markewich left a comment

Choose a reason for hiding this comment

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

Looks great!

@jerryjliu jerryjliu merged commit 26c0635 into main Oct 14, 2024
8 checks passed
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.

2 participants