-
AllyAI – Sharepoint Connector – Authentication
Ally AI – Sharepoint Connectors – Authentication Problem #1 : How Do I Authenticate With Sharepoint ? def load_credentials(self, credentials: dict[str, Any]) -> dict[str, Any] | None: self._credential_json = credentials auth_method = credentials.get( "authentication_method", SharepointAuthMethod.CLIENT_SECRET.value ) sp_client_id = credentials.get("sp_client_id") sp_client_secret = credentials.get("sp_client_secret") sp_directory_id = credentials.get("sp_directory_id") sp_private_key = credentials.get("sp_private_key") sp_certificate_password = credentials.get("sp_certificate_password") if not sp_client_id: raise ConnectorValidationError("Client ID is required") if not sp_directory_id: raise ConnectorValidationError("Directory (tenant) ID is required") authority_url = f"{self.authority_host}/{sp_directory_id}" if auth_method == SharepointAuthMethod.CERTIFICATE.value: logger.info("Using certificate authentication") if not sp_private_key or not sp_certificate_password: raise ConnectorValidationError( "Private key and certificate password are required for certificate authentication" ) pfx_data = base64.b64decode(sp_private_key)
-
Ally AI – Connectors – Sharepoint
Ally AI – Connectors – Sharepoint Page-1: Explanation: Page-2: Explanation: Page-3: Explanation: Page-4: Explanation: Page-5: Explanation: Page-6: Explanation: Page-7: Explanation: Page-8: Explanation: Page-9: Explanation: Page-10: Explanation: Page-11: Explanation: Page-12: Explanation:
-
Ally AI – Secure RAG & Query Path Layer
Ally AI – Secure RAG & Query Path Layer
-
Ally AI – Knowledge Storage & Search Service Layer.
Ally AI – Knowledge Storage & Search Service Layer
-
Ally AI – AI Model & Response Generation Layer
Ally AI – AI Model & Response Generation Layer
-
Allay AI – Enterprise Knowledge Layer
Ally AI – Enterprise Knowledge Layer Background Ingestion Flow Live Query & Retrival Flow GCP Service Mapping
-
Ally AI – Application Layer
Ally AI – Application Layer (0) What The Allay AI Application Layer Does ? (1) Web Server & User Interface (2) FastAPI API Server (3) Chat API & Streaming Response (4) Chat & Agent Orchestration (5) Agent, Called “Personas” In The Backend (6) Chat Sections, Messages & History (7) Admin APIs (8) Search & Tool API Gateway (9) Application Level Permission Enforcement
-
Ally AI – API Gateway & Access Layer
Ally AI – Full Architecture Diagram ┌─────────────────────────────────────────────────────────────────┐ │ 1. USER REQUEST │ │ https://onyx.company.com/api/chat │ └──────────────────────────┬──────────────────────────────────────┘ │ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ 2. LOAD BALANCER (GCP) │ │ Decision: "Which cluster?" │ │ – Checks geographic location │ │ – Checks cluster health │ │ – Forwards to US GKE cluster │ └──────────────────────────┬──────────────────────────────────────┘ │ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ 3. GKE GATEWAY (Your Question) │ │ Decision: "Which service?" │ │ │ │ Questions GKE Gateway asks: │ │ ① What's the hostname? → onyx.company.com │ │ ② Does any rule match? → Yes, rule exists │ │ ③ What's the path? → /api/chat
-
Ally AI – Full Architecture Diagram
Ally AI – Full Architecture Diagram Full Architecture: Users & Administrators: Edge and Access Layer: Application Layer: Agent Capability: Secure RAG Query Path: Data And Search Services: Enterprise Knowledge Layer: Optional Advanced: AI and Model Layer: Typical Deployment Layer:
-
Ally AI – Knowledge + RAG Architecture
Ally AI – Enterprise Knowledge + RAG Archetecture
