This repository was archived by the owner on Apr 12, 2026. It is now read-only.
v5.0.0 | refactor utility module | update Curie system prompt | update dependencies/project version#201
Conversation
…s and prompt template text Added the soon-to-be released GPT models to the OpenAI model dictionaries in both chatbot pages. Also, revised Curie's prompt template text for better clarity and guidance in responses.
- Moved `utility_funcs.py` to `.archive` for deprecation. - Updated `__init__.py` to import from new modules: `chatbot_operators`, `streamlit_operators`, and `lc_premade`. - Added `chatbot_operators.py` with classes and methods for document retrieval and model selection. - Added `lc_premade.py` with callback handlers for streaming model output and context retrieval. - Added `streamlit_operators.py` with functions for setting background images and saving conversation history. These changes improve code organization and resolve Refactor `utility_funcs.py` into smaller, more manageable modules #198.
Owner
Author
|
Closed
Updated the project dependencies to their latest versions, including langchain, langchain-openai, and streamlit. This change also includes a downgrade of setuptools. The project version has been incremented from 4.4.6-1 to 5.0.0 to reflect significant updates and potential breaking changes.
utility_funcs.py into more manageable modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refactor(utils): split
utility_funcs.pyinto more manageable modulesutility_funcs.pyto.archivefor deprecation.__init__.pyto import from new modules:chatbot_operators,streamlit_operators, andlc_premade.chatbot_operators.pywith classes and methods for document retrieval and model selection.lc_premade.pywith callback handlers for streaming model output and context retrieval.streamlit_operators.pywith functions for setting background images and saving conversation history.These changes improve code organization and resolve Refactor
utility_funcs.pyinto smaller, more manageable modules #198.