banko-ai-assistant 1.0.11__py3-none-any.whl → 1.0.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- banko_ai/web/app.py +9 -1
- {banko_ai_assistant-1.0.11.dist-info → banko_ai_assistant-1.0.12.dist-info}/METADATA +1 -1
- {banko_ai_assistant-1.0.11.dist-info → banko_ai_assistant-1.0.12.dist-info}/RECORD +7 -7
- {banko_ai_assistant-1.0.11.dist-info → banko_ai_assistant-1.0.12.dist-info}/WHEEL +0 -0
- {banko_ai_assistant-1.0.11.dist-info → banko_ai_assistant-1.0.12.dist-info}/entry_points.txt +0 -0
- {banko_ai_assistant-1.0.11.dist-info → banko_ai_assistant-1.0.12.dist-info}/licenses/LICENSE +0 -0
- {banko_ai_assistant-1.0.11.dist-info → banko_ai_assistant-1.0.12.dist-info}/top_level.txt +0 -0
banko_ai/web/app.py
CHANGED
@@ -114,6 +114,8 @@ def create_app() -> Flask:
|
|
114
114
|
current_user = user_manager.get_current_user()
|
115
115
|
user_id = current_user['id'] if current_user else None
|
116
116
|
|
117
|
+
print(f"🔍 API Search Debug: query='{query}', limit={limit}, threshold={threshold}, user_id={user_id}")
|
118
|
+
|
117
119
|
# If no user is logged in, search all expenses (no user filtering)
|
118
120
|
# This ensures we get results from the database
|
119
121
|
if user_id is None:
|
@@ -131,9 +133,13 @@ def create_app() -> Flask:
|
|
131
133
|
threshold=threshold
|
132
134
|
)
|
133
135
|
|
136
|
+
print(f"🔍 API Search Debug: search_engine returned {len(results) if results else 0} results")
|
137
|
+
|
134
138
|
# Convert to serializable format
|
135
139
|
search_results = []
|
136
|
-
|
140
|
+
print(f"🔍 API Search Debug: Processing {len(results) if results else 0} results")
|
141
|
+
for i, result in enumerate(results):
|
142
|
+
print(f"🔍 API Search Debug: Processing result {i+1}: {result.description[:50]}... (score: {result.similarity_score})")
|
137
143
|
search_results.append({
|
138
144
|
'expense_id': result.expense_id,
|
139
145
|
'user_id': result.user_id,
|
@@ -145,6 +151,8 @@ def create_app() -> Flask:
|
|
145
151
|
'metadata': result.metadata
|
146
152
|
})
|
147
153
|
|
154
|
+
print(f"🔍 API Search Debug: Final search_results has {len(search_results)} items")
|
155
|
+
|
148
156
|
return jsonify({
|
149
157
|
'success': True,
|
150
158
|
'results': search_results,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: banko-ai-assistant
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.12
|
4
4
|
Summary: AI-powered expense analysis and RAG system with CockroachDB vector search and multi-provider AI support
|
5
5
|
Author-email: Virag Tripathi <virag.tripathi@gmail.com>
|
6
6
|
License-Expression: MIT
|
@@ -154,11 +154,11 @@ banko_ai/vector_search/enrichment.py,sha256=sRnFLNG9WGfq8j44T7krxHI-Lc2RSH68mt0I
|
|
154
154
|
banko_ai/vector_search/generator.py,sha256=BAs26Uwt-8VP9xPsTdooxznLnr674uX_jr41_oKZKL8,16912
|
155
155
|
banko_ai/vector_search/search.py,sha256=k3wo3zFJH9o-kBc-vAS-bdmM3LGX2vIk3u4cRA5QPXo,16915
|
156
156
|
banko_ai/web/__init__.py,sha256=hjWVVxYpIZhOAN1qBf4xTd36a5AUHM03Q8BF8pykhJQ,363
|
157
|
-
banko_ai/web/app.py,sha256=
|
157
|
+
banko_ai/web/app.py,sha256=hNRtCfmLf8UdjFgp96lKASSGJ_fosleBMIAmAJ9LZUQ,28288
|
158
158
|
banko_ai/web/auth.py,sha256=js6qIixSFHyLbETDm8GNLCPrDkCDcaQZPFOrqtZP1uw,2125
|
159
|
-
banko_ai_assistant-1.0.
|
160
|
-
banko_ai_assistant-1.0.
|
161
|
-
banko_ai_assistant-1.0.
|
162
|
-
banko_ai_assistant-1.0.
|
163
|
-
banko_ai_assistant-1.0.
|
164
|
-
banko_ai_assistant-1.0.
|
159
|
+
banko_ai_assistant-1.0.12.dist-info/licenses/LICENSE,sha256=skG0LkywIClj8fgSIXiG6o9vUDJ678BKBObIyJ19OMw,1075
|
160
|
+
banko_ai_assistant-1.0.12.dist-info/METADATA,sha256=Ml4D_9W8csDLr_vs5y6KTZmwIfud9RgwKerJj2YOcqM,13244
|
161
|
+
banko_ai_assistant-1.0.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
162
|
+
banko_ai_assistant-1.0.12.dist-info/entry_points.txt,sha256=IxPjBjMvbpCp-ikCA43bOSbYboTGPX4HYcZlvu2_vcA,47
|
163
|
+
banko_ai_assistant-1.0.12.dist-info/top_level.txt,sha256=xNMa9Z67UssefOQ2ubFObtqUYIfYmCIclfz0xdo5OPE,9
|
164
|
+
banko_ai_assistant-1.0.12.dist-info/RECORD,,
|
File without changes
|
{banko_ai_assistant-1.0.11.dist-info → banko_ai_assistant-1.0.12.dist-info}/entry_points.txt
RENAMED
File without changes
|
{banko_ai_assistant-1.0.11.dist-info → banko_ai_assistant-1.0.12.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
File without changes
|