banko-ai-assistant 1.0.5__py3-none-any.whl → 1.0.6__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 +0 -18
- {banko_ai_assistant-1.0.5.dist-info → banko_ai_assistant-1.0.6.dist-info}/METADATA +1 -1
- {banko_ai_assistant-1.0.5.dist-info → banko_ai_assistant-1.0.6.dist-info}/RECORD +7 -7
- {banko_ai_assistant-1.0.5.dist-info → banko_ai_assistant-1.0.6.dist-info}/WHEEL +0 -0
- {banko_ai_assistant-1.0.5.dist-info → banko_ai_assistant-1.0.6.dist-info}/entry_points.txt +0 -0
- {banko_ai_assistant-1.0.5.dist-info → banko_ai_assistant-1.0.6.dist-info}/licenses/LICENSE +0 -0
- {banko_ai_assistant-1.0.5.dist-info → banko_ai_assistant-1.0.6.dist-info}/top_level.txt +0 -0
banko_ai/web/app.py
CHANGED
@@ -417,9 +417,6 @@ def create_app() -> Flask:
|
|
417
417
|
limit=10,
|
418
418
|
threshold=0.7
|
419
419
|
)
|
420
|
-
print(f"🔍 Search returned {len(result)} results for query: '{prompt}'")
|
421
|
-
if result:
|
422
|
-
print(f"📊 First result: {result[0].description[:50]}...")
|
423
420
|
print(f"Using {provider_info['name']} for response generation in {target_language}")
|
424
421
|
|
425
422
|
# Generate RAG response with language preference
|
@@ -438,21 +435,6 @@ def create_app() -> Flask:
|
|
438
435
|
print(f"Error with {provider_info['name']}: {str(e)}")
|
439
436
|
session['chat'].append({'text': error_message, 'class': 'Assistant'})
|
440
437
|
|
441
|
-
# Return JSON response for POST requests (AJAX)
|
442
|
-
if request.method == 'POST':
|
443
|
-
if session['chat']:
|
444
|
-
return jsonify({
|
445
|
-
'response': session['chat'][-1]['text'],
|
446
|
-
'success': True
|
447
|
-
})
|
448
|
-
else:
|
449
|
-
return jsonify({
|
450
|
-
'response': 'No response generated - session chat is empty',
|
451
|
-
'success': False,
|
452
|
-
'error': 'Session chat not initialized'
|
453
|
-
})
|
454
|
-
|
455
|
-
# Return HTML template for GET requests
|
456
438
|
return render_template('index.html',
|
457
439
|
chat=session['chat'],
|
458
440
|
ai_provider=ai_provider_display,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: banko-ai-assistant
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.6
|
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=b2yFIZRVkeGXOvsQmrqvLG7EygQ5RS4c6EakeYCZeMM,13439
|
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=ALp-wx_HYGGGeEP-cTMBxxN1QNAtX5vOhHSigPO3J5Q,26340
|
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.6.dist-info/licenses/LICENSE,sha256=skG0LkywIClj8fgSIXiG6o9vUDJ678BKBObIyJ19OMw,1075
|
160
|
+
banko_ai_assistant-1.0.6.dist-info/METADATA,sha256=Ng3npKvA8v3Z7ECuqMZgdzc4sxi4bBpRux8igxajXeg,13243
|
161
|
+
banko_ai_assistant-1.0.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
162
|
+
banko_ai_assistant-1.0.6.dist-info/entry_points.txt,sha256=IxPjBjMvbpCp-ikCA43bOSbYboTGPX4HYcZlvu2_vcA,47
|
163
|
+
banko_ai_assistant-1.0.6.dist-info/top_level.txt,sha256=xNMa9Z67UssefOQ2ubFObtqUYIfYmCIclfz0xdo5OPE,9
|
164
|
+
banko_ai_assistant-1.0.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|