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

Update pdf.mdx #102

Conversation

SaranshSharmaShorthillsAI
Copy link
Collaborator

changed "based on the their" to "based on their"

* Update modal.py

feat: Raise KeyError when 'prompt' key is missing in JSON response

This commit updates the error handling in the code to raise a KeyError when
the 'prompt' key is not found in the JSON response. This change makes the code
more explicit about the nature of the error, helping to improve clarity and
debugging.

* Update tavily_search_api.py

ValueError Must be ImportError

---------

Co-authored-by: Aashish Saini <141953346+ShorthillsAI@users.noreply.github.com>
* Update modal.py

feat: Raise KeyError when 'prompt' key is missing in JSON response

This commit updates the error handling in the code to raise a KeyError when
the 'prompt' key is not found in the JSON response. This change makes the code
more explicit about the nature of the error, helping to improve clarity and
debugging.

* Update faker_presidio_mapping.py

lambda was written twice, I have corrected the same

* Update base_moderation.py

Rectified input to input_text

---------

Co-authored-by: Aashish Saini <141953346+ShorthillsAI@users.noreply.github.com>
…-ai#95)

* Update modal.py

feat: Raise KeyError when 'prompt' key is missing in JSON response

This commit updates the error handling in the code to raise a KeyError when
the 'prompt' key is not found in the JSON response. This change makes the code
more explicit about the nature of the error, helping to improve clarity and
debugging.

* prompt_llm_parser.ipynb

---------

Co-authored-by: Aashish Saini <141953346+ShorthillsAI@users.noreply.github.com>
* Update modal.py

feat: Raise KeyError when 'prompt' key is missing in JSON response

This commit updates the error handling in the code to raise a KeyError when
the 'prompt' key is not found in the JSON response. This change makes the code
more explicit about the nature of the error, helping to improve clarity and
debugging.

* fixed index.mdx

Fixed grammatical error in file index.mdx.
Changed 'it's' to 'it is'.

I would like to emphasize that your feedback is immensely valuable to us and is truly treasured. We greatly appreciate your insights and input, as they help us improve and grow.

Gratitude
@baskaryan @hwchase17

---------

Co-authored-by: Aashish Saini <141953346+ShorthillsAI@users.noreply.github.com>
* Update modal.py

feat: Raise KeyError when 'prompt' key is missing in JSON response

This commit updates the error handling in the code to raise a KeyError when
the 'prompt' key is not found in the JSON response. This change makes the code
more explicit about the nature of the error, helping to improve clarity and
debugging.

* Updated debugging.md with grammatical corrections

"There's a number of callbacks" was grammatically incorrect and is replaced with "There are a...". There was a typographical error in the subheading. It was written as "set_vebose = True".

---------

Co-authored-by: Aashish Saini <141953346+ShorthillsAI@users.noreply.github.com>
* Update modal.py

feat: Raise KeyError when 'prompt' key is missing in JSON response

This commit updates the error handling in the code to raise a KeyError when
the 'prompt' key is not found in the JSON response. This change makes the code
more explicit about the nature of the error, helping to improve clarity and
debugging.

* Update baidu_qianfan_endpoint.py

Import Error was used as Exception, but value error was raised so changed ValueError to ImportError

* Update databricks.py

Updated the raised ValueError to ImportError

---------

Co-authored-by: Aashish Saini <141953346+ShorthillsAI@users.noreply.github.com>
* Update modal.py

feat: Raise KeyError when 'prompt' key is missing in JSON response

This commit updates the error handling in the code to raise a KeyError when
the 'prompt' key is not found in the JSON response. This change makes the code
more explicit about the nature of the error, helping to improve clarity and
debugging.

* simplified a sentence in walkthrough.ipynb

a minute adjustment in the sentence to make the message being conveyed more understandable.

---------

Co-authored-by: Aashish Saini <141953346+ShorthillsAI@users.noreply.github.com>
* Update modal.py

feat: Raise KeyError when 'prompt' key is missing in JSON response

This commit updates the error handling in the code to raise a KeyError when
the 'prompt' key is not found in the JSON response. This change makes the code
more explicit about the nature of the error, helping to improve clarity and
debugging.

* Update paul_graham_essay.txt (Grammatical error)

Replaced "till" with "until." on line "The book, On Lisp, wasn't published till 1993, but I wrote much of it in grad school."

---------

Co-authored-by: Aashish Saini <141953346+ShorthillsAI@users.noreply.github.com>
Change the 'c' in 'Langchain' to 'C' to form 'LangChain.'
In the official documentation, it is written as 'LangChain.
There was a grammatical error. An apostrophe was missing in all the whats and it has been corrected to what's.
* Update modal.py

feat: Raise KeyError when 'prompt' key is missing in JSON response

This commit updates the error handling in the code to raise a KeyError when
the 'prompt' key is not found in the JSON response. This change makes the code
more explicit about the nature of the error, helping to improve clarity and
debugging.

* space missing

The space between the words 'JSON' and 'Schema' was missing.

* Update interface.ipynb

---------

Co-authored-by: Aashish Saini <141953346+ShorthillsAI@users.noreply.github.com>
@ShorthillsAI
Copy link
Collaborator

@SaranshSharmaShorthillsAI , Please resolve your conflicts

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.

9 participants