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

Increase Langchain Retries and Update Langchain Version #216

Merged
merged 1 commit into from
Jul 17, 2023
Merged

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Jul 15, 2023

Fixes #212

This pull request includes changes related to the Langchain functionality in the ayushma project.

Changes

  1. Increased Langchain retries: The Langchain retries have been increased. This change is reflected in the utils/langchain.py file where the max_retries attribute has been set to 30. This would ensure that the Langchain operation would retry up to 30 times before failing, providing a more resilient system in case of temporary issues or network instabilities.

  2. Updated Langchain version: The Langchain library version used in the project has been updated from 0.0.194 to 0.0.233. This change is reflected in the project's base.txt requirements file. Updating to the latest version ensures that we can utilize any new features, improvements, or bug fixes provided in the newer version.

  3. Code Refactoring: A sleep command of 15 seconds has been added after each test question in the tasks/testrun.py file. This is to ensure that the previous test question has enough time to complete before the next one begins.

Impact

These changes are expected to improve the reliability and efficiency of the Langchain-related operations in the ayushma project.

@Ashesh3 Ashesh3 requested a review from skks1212 July 15, 2023 10:41
@vercel
Copy link

vercel bot commented Jul 15, 2023

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

Name Status Preview Updated (UTC)
ayushma ✅ Ready (Inspect) Visit Preview Jul 15, 2023 10:41am

@skks1212 skks1212 merged commit 2418050 into master Jul 17, 2023
2 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.

Random Test Failures Due to OpenAI Rate Limit
2 participants