如果不加白名单,启动pod会失败,日志会出现以下提示: 2025/04/0601:40:49/app/internal/db/init.go:17[error] failed to initialize database, got error failed to connect to `host=postgres user=postgres database=dify_plugin`: server error (FATAL: no pg_hba.conf entryforhost"10.42.0.45", user"p...
api-1 | /app/api/.venv/lib/python3.12/site-packages/opik/evaluation/metrics/heuristics/regex_match.py:8: SyntaxWarning: invalid escape sequence '\d' api-1 | """ api-1 | Preparing database migration... api-1 | Database migration skipped api-1 | [2025-03-24 12:23:49 +0000] [1] ...
VTT to Document Transform: We've enhanced the Document extractor to support VTT data formats, thanks to @te-chan2. Advanced Storage Management: Admins, rejoice! You can now easily reclaim storage space by cleaning up unused files. This feature is courtesy of @kurokobo. Vastbase Vector Datab...
Route('/database-schema', endpoint=fetch_schema, methods=["GET"]), Route('/query', endpoint=run_sql_query, methods=["POST"]), ] # Initialize application api = Starlette(routes=routes) # Server startup if __name__ == "__main__": import uvicorn uvicorn.run(api, host="0.0.0.0",...
Route('/database-schema', endpoint=fetch_schema, methods=["GET"]), Route('/query', endpoint=run_sql_query, methods=["POST"]), ] # Initialize application api = Starlette(routes=routes) # Server startup if __name__ == "__main__": ...
Configure kubeconfig to access the Kubernetes (K8S) cluster locally: Data Persistence Configure: Database Configure: Redis Configure: VectorDatabase Configure: Set docker image pull secret TLS For testing: For production: AWS Load Balancer Configuration ...
{"error": "Query execution failed. Please check your SQL syntax."}, status_code=400) # Routes configuration routes = [ Route('/database-schema', endpoint=fetch_schema, methods=["GET"]), Route('/query', endpoint=run_sql_query, methods=["POST"]), ] # Initial...
Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production. - dify/api/com
click.echo(click.style('Sorry, no workspace found. Please enter /install to initialize.', fg='red')) return tenant.encrypt_public_key = generate_key_pair(tenant.id) db.session.query(Provider).filter(Provider.provider_type == 'custom', Provider.tenant_id == tenant.id).delete() db.sessio...
logging.exception(f"Database migration failed, error: {e}") finally: lock.release() else: click.echo("Database migration skipped") @click.command("fix-app-site-missing", help="Fix app related site missing issue.") def fix_app_site_missing(): """ Fix app related site missing issue. ...