Skip to content

a few updates that makes it work much better for me but adds openai api for creating summaries...#8

Open
jamie-beck wants to merge 10 commits intoSogody:mainfrom
jamie-beck:main
Open

a few updates that makes it work much better for me but adds openai api for creating summaries...#8
jamie-beck wants to merge 10 commits intoSogody:mainfrom
jamie-beck:main

Conversation

@jamie-beck
Copy link

@jamie-beck jamie-beck commented Apr 30, 2023

This helped with "content too long" #3

I also made it work as described in the openapi.yaml in regards to the first 3 results having the full text and the results 4-5 being summaries. Some minor logic cleanup removing redundant ranges for loops etc.

I added a .env.template to more easily work with added variables over time.

The readme was updated with the new openai key requirements.

EDIT:
I've upped the search results returned to 10 but still only the first 3 have full (3500 char limit) text.
Now added the ability to read the text of pdf search results.

EDIT 2:
Now uses token counts to shorten text so we can more accurately pack the context.

@jamie-beck jamie-beck changed the title a few updates the makes it work much better for me but adds openai api for creating summaries... a few updates that makes it work much better for me but adds openai api for creating summaries... May 1, 2023
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.

1 participant

Comments