GuglielmoTor commited on
Commit
e61b329
·
verified ·
1 Parent(s): 1602363

Create __init__.py

Browse files
Files changed (1) hide show
  1. features/chatbot/__init__.py +30 -0
features/chatbot/__init__.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # __init__.py
2
+
3
+ """
4
+ Initialization file for the chatbot utilities package.
5
+
6
+ This package provides handlers for interacting with the Gemini LLM and
7
+ functions for generating prompts related to chatbot interactions.
8
+ """
9
+
10
+ # Import key functions from chatbot_handler.py to make them accessible
11
+ # directly from the package level (e.g., from chatbot_package import generate_llm_response)
12
+ from .chatbot_handler import generate_llm_response
13
+ from .chatbot_handler import format_history_for_gemini # Exposing this if it's used externally
14
+ from .chatbot_handler import client as gemini_client # Exposing the client if needed externally
15
+ from .chatbot_handler import model_name as gemini_model_name # Exposing model_name if needed
16
+
17
+ # Import key functions from chatbot_prompts.py
18
+ from .chatbot_prompts import get_initial_insight_prompt_and_suggestions
19
+
20
+ # Optional: Define __all__ to specify what `from chatbot_package import *` imports.
21
+ # This is good practice for defining the public API of your package.
22
+ __all__ = [
23
+ "generate_llm_response",
24
+ "format_history_for_gemini",
25
+ "gemini_client",
26
+ "gemini_model_name",
27
+ "get_initial_insight_prompt_and_suggestions",
28
+ ]
29
+
30
+