-
Notifications
You must be signed in to change notification settings - Fork 30
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
Openaiwrapper memoize #7
Openaiwrapper memoize #7
Conversation
…edding and chat_completion functions
Hi @bearney74, it’s great to see a first contribution! I truly appreciate the time and effort you have invested in this work. You have made some fantastic improvements, particularly with the use of memoize to cache embedding calls across runs. Thank you very much! 🚀🚀🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the updates to the code! 👏
add memoize so that we can cache the results from openaiAPIWrapper.
move the parsing logic into the chat_completion function from the various functions that call it.
move the model we use into the chat_completion function so that we can easily change it if we need to.
#remove date and time from prompts so that we can cache the results we get from openai.