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

adding gpt-3.5-turbo-0125 and gpt-4-0125-preview support #470

Merged
merged 6 commits into from
Mar 1, 2024

Conversation

ucekmez
Copy link
Contributor

@ucekmez ucekmez commented Feb 29, 2024

I attached two new models by OpenAI, published in Jan 2024

when extracting a zip file, zip_extract_handler function's return value and the lines processing it do not match in terms of attribute names, thus giving the following error


  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/site-packages/llmware/parsers.py", line 330, in _collator
    pdf_found += zip_work_order["pdf_found"]
KeyError: 'pdf_found'
The following error is solved:

    if core_text[x].lower() == key_term[0].lower():
IndexError: string index out of range
@ucekmez
Copy link
Contributor Author

ucekmez commented Mar 1, 2024

The last two commits include bugfixes.

zip parser bugfix: it gives error when zip file is uploaded, because of attribute name mismatch

fix on retrieval when key_term length is zero : this commit fixes the following issue: #453

@doberst doberst merged commit 16e87ad into llmware-ai:main Mar 1, 2024
@doberst
Copy link
Contributor

doberst commented Mar 1, 2024

Good changes - well-done - thanks for contributing. 👍

doberst added a commit that referenced this pull request Mar 16, 2024
adding gpt-3.5-turbo-0125 and gpt-4-0125-preview support
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