Spaces:
Running
Running
# __init__.py | |
""" | |
Initialization file for the chatbot utilities package. | |
This package provides handlers for interacting with the Gemini LLM and | |
functions for generating prompts related to chatbot interactions. | |
""" | |
# Import key functions from chatbot_handler.py to make them accessible | |
# directly from the package level (e.g., from chatbot_package import generate_llm_response) | |
from .chatbot_handler import generate_llm_response | |
from .chatbot_handler import format_history_for_gemini # Exposing this if it's used externally | |
from .chatbot_handler import client as gemini_client # Exposing the client if needed externally | |
from .chatbot_handler import model_name as gemini_model_name # Exposing model_name if needed | |
# Import key functions from chatbot_prompts.py | |
from .chatbot_prompts import get_initial_insight_prompt_and_suggestions | |
# Optional: Define __all__ to specify what `from chatbot_package import *` imports. | |
# This is good practice for defining the public API of your package. | |
__all__ = [ | |
"generate_llm_response", | |
"format_history_for_gemini", | |
"gemini_client", | |
"gemini_model_name", | |
"get_initial_insight_prompt_and_suggestions", | |
] | |