To develop a healthcare chatbot service (AI-guided bot) that conducts real-time conversations using large language models to provide accurate health information to patients. To provide accurate and specialized medical responses, we integrated several cancer practice guidelines. The size of the integrated meta-dataset was 1.17 million tokens. The integrated and classified metadata were extracted, transformed into text, segmented to specific character lengths, and vectorized using the embedding model. The AI-guide bot was implemented using Python 3.9. To enhance the scalability and incorporate the integrated dataset, we combined the AI-guide bot with OpenAI and the LangChain framework. To generate user-friendly conversations, a language model was developed based on Chat-Generative Pretrained Transformer (ChatGPT), an interactive conversational chatbot powered by GPT-3.5. The AI-guide bot was implemented using ChatGPT3.5 from Sep. 2023 to Jan. 2024. The AI-guide bot allowed users to select their desired cancer type and language for conversational interactions. The AI-guided bot was designed to expand its capabilities to encompass multiple major cancer types. The performance of the AI-guide bot responses was 90.98 ± 4.02 (obtained by summing up the Likert scores). The AI-guide bot can provide medical information quickly and accurately to patients with cancer who are concerned about their health.
21 September 2022 in Computers in Biology and Medicine
For indirect contrast enhancement, researchers have proposed various transformation functions based on histogram equalization and gamma correction. However, these transformation functions tend to result in over-enhancement artifacts such as noise amplification, mean brightness change, and detail loss. To overcome the limitations of conventional transformation functions, this paper introduces a novel sigmoid function based on the contrast sensitivity of human brightness perception. In the proposed method, the contrast sensitivity of the human retina is modeled as an exponential function of the log-intensity, and a transformation function is derived using the sensitivity model as the exponent of Steven’s power law. We also present a parameter optimization method that maintains the mean brightness of the input image and stretches the image histogram while minimizing information loss. Experimental results demonstrate that the proposed method has low computational complexity and outperforms the state-of-the-art methods in terms of contrast enhancement performance, mean brightness preservation, and detail preservation.