diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..feaed0d --- /dev/null +++ b/.env.example @@ -0,0 +1,117 @@ +# Description: Example of .env file +# Usage: Copy this file to .env and change the values +# according to your needs +# Do not commit .env file to git +# Do not change .env.example file + +# Config directory +# Directory where files, logs and database will be stored +# Example: LANGFLOW_CONFIG_DIR=~/.langflow +LANGFLOW_CONFIG_DIR= + +# Save database in the config directory +# Values: true, false +# If false, the database will be saved in Langflow's root directory +# This means that the database will be deleted when Langflow is uninstalled +# and that the database will not be shared between different virtual environments +# Example: LANGFLOW_SAVE_DB_IN_CONFIG_DIR=true +LANGFLOW_SAVE_DB_IN_CONFIG_DIR= + +# Database URL +# Postgres example: LANGFLOW_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/langflow +# SQLite example: +LANGFLOW_DATABASE_URL=sqlite:///./langflow.db + +# Database connection retry +# Values: true, false +# If true, the database will retry to connect to the database if it fails +# Example: LANGFLOW_DATABASE_CONNECTION_RETRY=true +LANGFLOW_DATABASE_CONNECTION_RETRY=false + +# Cache type +LANGFLOW_LANGCHAIN_CACHE=SQLiteCache + +# Server host +# Example: LANGFLOW_HOST=127.0.0.1 +LANGFLOW_HOST= + +# Worker processes +# Example: LANGFLOW_WORKERS=1 +LANGFLOW_WORKERS= + +# Server port +# Example: LANGFLOW_PORT=7860 +LANGFLOW_PORT= + +# Logging level +# Example: LANGFLOW_LOG_LEVEL=critical +LANGFLOW_LOG_LEVEL= + +# Path to the log file +# Example: LANGFLOW_LOG_FILE=logs/langflow.log +LANGFLOW_LOG_FILE= + +# Path to the frontend directory containing build files +# Example: LANGFLOW_FRONTEND_PATH=/path/to/frontend/build/files +LANGFLOW_FRONTEND_PATH= + +# Whether to open the browser after starting the server +# Values: true, false +# Example: LANGFLOW_OPEN_BROWSER=true +LANGFLOW_OPEN_BROWSER= + +# Whether to remove API keys from the projects saved in the database +# Values: true, false +# Example: LANGFLOW_REMOVE_API_KEYS=false +LANGFLOW_REMOVE_API_KEYS= + +# Whether to use RedisCache or ThreadingInMemoryCache or AsyncInMemoryCache +# Values: async, memory, redis +# Example: LANGFLOW_CACHE_TYPE=memory +# If you want to use redis then the following environment variables must be set: +# LANGFLOW_REDIS_HOST (default: localhost) +# LANGFLOW_REDIS_PORT (default: 6379) +# LANGFLOW_REDIS_DB (default: 0) +# LANGFLOW_REDIS_CACHE_EXPIRE (default: 3600) +LANGFLOW_CACHE_TYPE= + +# Set AUTO_LOGIN to false if you want to disable auto login +# and use the login form to login. LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD +# must be set if AUTO_LOGIN is set to false +# Values: true, false +LANGFLOW_AUTO_LOGIN= + +# Superuser username +# Example: LANGFLOW_SUPERUSER=admin +LANGFLOW_SUPERUSER= + +# Superuser password +# Example: LANGFLOW_SUPERUSER_PASSWORD=123456 +LANGFLOW_SUPERUSER_PASSWORD= + +# Should store environment variables in the database +# Values: true, false +LANGFLOW_STORE_ENVIRONMENT_VARIABLES= + +# STORE_URL +# Example: LANGFLOW_STORE_URL=https://api.langflow.store +# LANGFLOW_STORE_URL= + +# DOWNLOAD_WEBHOOK_URL +# +# LANGFLOW_DOWNLOAD_WEBHOOK_URL= + +# LIKE_WEBHOOK_URL +# +# LANGFLOW_LIKE_WEBHOOK_URL= + +# Value must finish with slash / +#BACKEND_URL=http://localhost:7860/ +BACKEND_URL= + +# 用户中心授权登录配置 +# USER_CENTER_API_URL = https://uc.dev.maimaiag.com/jeecgboot +# USER_CENTER_AUTH_URL = https://uc.dev.maimaiag.com/authorize +# USER_CENTER_REDIRECT_URL = http://localhost:3000/oauth2/login +# USER_CENTER_CLIENT_ID = 328738dbecb74ffb8f5409efe13863d056d089682536415a8cb19b7ad588dac2 +# USER_CENTER_CLIENT_SECRET = 83038d0752b34ac79ead5052bd93049466a78ed59d514550b6944ed046481ff0 \ No newline at end of file diff --git a/659d3336-2a70-41b7-81e8-70cf8ff687f6.png b/659d3336-2a70-41b7-81e8-70cf8ff687f6.png new file mode 100644 index 0000000..401cf8b Binary files /dev/null and b/659d3336-2a70-41b7-81e8-70cf8ff687f6.png differ diff --git a/a.md b/a.md new file mode 100644 index 0000000..28fb42d --- /dev/null +++ b/a.md @@ -0,0 +1 @@ +base64编码的文件内容 diff --git a/a8c172ed-0a61-4bdb-819e-e1cbc4175b94.png b/a8c172ed-0a61-4bdb-819e-e1cbc4175b94.png new file mode 100644 index 0000000..4451517 Binary files /dev/null and b/a8c172ed-0a61-4bdb-819e-e1cbc4175b94.png differ diff --git a/abc.md b/abc.md new file mode 100644 index 0000000..28fb42d --- /dev/null +++ b/abc.md @@ -0,0 +1 @@ +base64编码的文件内容 diff --git a/abc1.md b/abc1.md new file mode 100644 index 0000000..28fb42d --- /dev/null +++ b/abc1.md @@ -0,0 +1 @@ +base64编码的文件内容 diff --git a/abc2.md b/abc2.md new file mode 100644 index 0000000..a4f786b --- /dev/null +++ b/abc2.md @@ -0,0 +1 @@ +base64编码的文件内容1212 diff --git a/abc3.md b/abc3.md new file mode 100644 index 0000000..7a3c858 Binary files /dev/null and b/abc3.md differ diff --git a/abc4.md b/abc4.md new file mode 100644 index 0000000..28fb42d --- /dev/null +++ b/abc4.md @@ -0,0 +1 @@ +base64编码的文件内容 diff --git a/abc5.db b/abc5.db new file mode 100644 index 0000000..7a3c858 Binary files /dev/null and b/abc5.db differ diff --git a/abc6.md b/abc6.md new file mode 100644 index 0000000..28fb42d --- /dev/null +++ b/abc6.md @@ -0,0 +1 @@ +base64编码的文件内容 diff --git a/demo/.env.example b/demo/.env.example new file mode 100644 index 0000000..feaed0d --- /dev/null +++ b/demo/.env.example @@ -0,0 +1,117 @@ +# Description: Example of .env file +# Usage: Copy this file to .env and change the values +# according to your needs +# Do not commit .env file to git +# Do not change .env.example file + +# Config directory +# Directory where files, logs and database will be stored +# Example: LANGFLOW_CONFIG_DIR=~/.langflow +LANGFLOW_CONFIG_DIR= + +# Save database in the config directory +# Values: true, false +# If false, the database will be saved in Langflow's root directory +# This means that the database will be deleted when Langflow is uninstalled +# and that the database will not be shared between different virtual environments +# Example: LANGFLOW_SAVE_DB_IN_CONFIG_DIR=true +LANGFLOW_SAVE_DB_IN_CONFIG_DIR= + +# Database URL +# Postgres example: LANGFLOW_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/langflow +# SQLite example: +LANGFLOW_DATABASE_URL=sqlite:///./langflow.db + +# Database connection retry +# Values: true, false +# If true, the database will retry to connect to the database if it fails +# Example: LANGFLOW_DATABASE_CONNECTION_RETRY=true +LANGFLOW_DATABASE_CONNECTION_RETRY=false + +# Cache type +LANGFLOW_LANGCHAIN_CACHE=SQLiteCache + +# Server host +# Example: LANGFLOW_HOST=127.0.0.1 +LANGFLOW_HOST= + +# Worker processes +# Example: LANGFLOW_WORKERS=1 +LANGFLOW_WORKERS= + +# Server port +# Example: LANGFLOW_PORT=7860 +LANGFLOW_PORT= + +# Logging level +# Example: LANGFLOW_LOG_LEVEL=critical +LANGFLOW_LOG_LEVEL= + +# Path to the log file +# Example: LANGFLOW_LOG_FILE=logs/langflow.log +LANGFLOW_LOG_FILE= + +# Path to the frontend directory containing build files +# Example: LANGFLOW_FRONTEND_PATH=/path/to/frontend/build/files +LANGFLOW_FRONTEND_PATH= + +# Whether to open the browser after starting the server +# Values: true, false +# Example: LANGFLOW_OPEN_BROWSER=true +LANGFLOW_OPEN_BROWSER= + +# Whether to remove API keys from the projects saved in the database +# Values: true, false +# Example: LANGFLOW_REMOVE_API_KEYS=false +LANGFLOW_REMOVE_API_KEYS= + +# Whether to use RedisCache or ThreadingInMemoryCache or AsyncInMemoryCache +# Values: async, memory, redis +# Example: LANGFLOW_CACHE_TYPE=memory +# If you want to use redis then the following environment variables must be set: +# LANGFLOW_REDIS_HOST (default: localhost) +# LANGFLOW_REDIS_PORT (default: 6379) +# LANGFLOW_REDIS_DB (default: 0) +# LANGFLOW_REDIS_CACHE_EXPIRE (default: 3600) +LANGFLOW_CACHE_TYPE= + +# Set AUTO_LOGIN to false if you want to disable auto login +# and use the login form to login. LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD +# must be set if AUTO_LOGIN is set to false +# Values: true, false +LANGFLOW_AUTO_LOGIN= + +# Superuser username +# Example: LANGFLOW_SUPERUSER=admin +LANGFLOW_SUPERUSER= + +# Superuser password +# Example: LANGFLOW_SUPERUSER_PASSWORD=123456 +LANGFLOW_SUPERUSER_PASSWORD= + +# Should store environment variables in the database +# Values: true, false +LANGFLOW_STORE_ENVIRONMENT_VARIABLES= + +# STORE_URL +# Example: LANGFLOW_STORE_URL=https://api.langflow.store +# LANGFLOW_STORE_URL= + +# DOWNLOAD_WEBHOOK_URL +# +# LANGFLOW_DOWNLOAD_WEBHOOK_URL= + +# LIKE_WEBHOOK_URL +# +# LANGFLOW_LIKE_WEBHOOK_URL= + +# Value must finish with slash / +#BACKEND_URL=http://localhost:7860/ +BACKEND_URL= + +# 用户中心授权登录配置 +# USER_CENTER_API_URL = https://uc.dev.maimaiag.com/jeecgboot +# USER_CENTER_AUTH_URL = https://uc.dev.maimaiag.com/authorize +# USER_CENTER_REDIRECT_URL = http://localhost:3000/oauth2/login +# USER_CENTER_CLIENT_ID = 328738dbecb74ffb8f5409efe13863d056d089682536415a8cb19b7ad588dac2 +# USER_CENTER_CLIENT_SECRET = 83038d0752b34ac79ead5052bd93049466a78ed59d514550b6944ed046481ff0 \ No newline at end of file