Feat/regenerate answer (#7)

* Add regen button and repharasing question on regen

* Stop appending regen messages to history, allow only one

* Add dynamic conversation state

* Allow reasoning pipeline to manipulate state

---------

Co-authored-by: albert <albert@cinnamon.is>
Co-authored-by: Duc Nguyen (john) <trungduc1992@gmail.com>
This commit is contained in:
ian_Cin
2024-04-03 15:37:55 +07:00
committed by GitHub
parent e67a25c0bd
commit 43a18ba070
8 changed files with 151 additions and 24 deletions

View File

@@ -15,8 +15,6 @@ from decouple import config
from kotaemon.loaders.utils.gpt4v import generate_gpt4v
logging.basicConfig(level=os.environ.get("LOGLEVEL", "INFO"))
def request_adobe_service(file_path: str, output_path: str = "") -> str:
"""Main function to call the adobe service, and unzip the results.