Initial commit

This commit is contained in:
2026-05-14 15:29:03 -03:00
parent 82ac556ecc
commit 54bcf081f6
31 changed files with 3132 additions and 518 deletions

View File

@@ -1,6 +1,6 @@
import streamlit as st
import time
from backend import BDAgent
from backend import orquestrador
import boto3
from boto3.dynamodb.conditions import Key
@@ -12,7 +12,7 @@ st.set_page_config(
)
session = boto3.Session()
dynamodb = boto3.resource("dynamodb", region_name="us-east-1")
dynamodb = boto3.resource("dynamodb", region_name=orquestrador.REGION)
def list_bases():
table = dynamodb.Table("poc_dnx_monthly_summary")
@@ -74,7 +74,7 @@ if prompt := st.chat_input("Type your message here..."):
# Simulate streaming response (replace with actual API call)
result = BDAgent.main(prompt,str(st.session_state.messages),selected_value,base)
result = orquestrador.main(prompt,str(st.session_state.messages),selected_value,base)
full_response = result["response"]
# Simulate typing effect