File size: 1,163 Bytes
e61b329
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# __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",
]