Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: embeddings workflow #91

Merged
merged 1 commit into from
Jul 13, 2024
Merged

feat: embeddings workflow #91

merged 1 commit into from
Jul 13, 2024

Conversation

danny-avila
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Jul 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
librechat-ai 🛑 Canceled (Inspect) Jul 13, 2024 0:42am

@danny-avila danny-avila merged commit 732d071 into main Jul 13, 2024
2 of 3 checks passed
Copy link

📦 Next.js Bundle Analysis for librechat.ai

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 267.71 KB (🟡 +9.73 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

New Pages Added

The following pages were added to the bundle from the code in this PR:

Page Size (compressed) First Load % of Budget (350 KB)
/blog/2024-05-16_unsecured_http 65.23 KB 332.94 KB 95.13%
/changelog/config_v1.1.0 63.84 KB 331.55 KB 94.73%
/changelog/config_v1.1.1 63.96 KB 331.68 KB 94.76%
/changelog/config_v1.1.2 63.83 KB 331.55 KB 94.73%
/changelog/config_v1.1.3 63.99 KB 331.71 KB 94.77%
/changelog/config_v1.1.4 63.86 KB 331.57 KB 94.73%
/changelog/v0.7.3 67.87 KB 335.59 KB 95.88%
/changelog/v0.7.3-rc 64.69 KB 332.41 KB 94.97%
/changelog/v0.7.3-rc2 66.28 KB 333.99 KB 95.43%
/changelog/v0.7.4-rc1 64.35 KB 332.07 KB 94.88%
/docs/configuration/authentication/email 12.2 KB 279.91 KB 79.98%
/docs/configuration/authentication/ldap 11.67 KB 279.39 KB 79.83%
/docs/configuration/azure 21.8 KB 289.51 KB 82.72%
/docs/configuration/librechat_yaml/ai_endpoints/databricks 11.4 KB 279.11 KB 79.75%
/docs/configuration/librechat_yaml/ai_endpoints/huggingface 12.49 KB 280.2 KB 80.06%
/docs/configuration/librechat_yaml/ai_endpoints/vultrcloudinference 11.32 KB 279.04 KB 79.72%
/docs/configuration/stt_tts 13.43 KB 281.14 KB 80.33%
/docs/features 17.21 KB 284.93 KB 81.41%
/docs/quick_start 10.82 KB 278.53 KB 79.58%
/docs/quick_start/_meta 256 B 267.96 KB 76.56%
/docs/quick_start/custom_endpoints 13.22 KB 280.93 KB 80.27%
/docs/quick_start/local_setup 12.4 KB 280.11 KB 80.03%

One Hundred Fifty-eight Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/ 54.98 KB 322.7 KB 92.20% (🟡 +0.16%)
/404 10.7 KB 278.41 KB 79.55% (🟡 +0.15%)
/README 11.41 KB 279.12 KB 79.75% (🟡 +0.16%)
/about 16.12 KB 283.83 KB 81.09% (🟡 +0.05%)
/authors 12.6 KB 280.31 KB 80.09% (🟡 +0.26%)
/authors/anon 65.9 KB 333.62 KB 95.32% (🟡 +0.25%)
/authors/berry 65.91 KB 333.63 KB 95.32% (🟡 +0.25%)
/authors/danny 66.03 KB 333.74 KB 95.35% (🟡 +0.25%)
/authors/fuegovic 65.95 KB 333.66 KB 95.33% (🟡 +0.25%)
/authors/librechat 65.99 KB 333.7 KB 95.34% (🟡 +0.25%)
/blog 99.13 KB 366.85 KB 104.81% (🟡 +0.15%)
/blog/2023-08-18_podman 69.31 KB 337.03 KB 96.29% (🟡 +0.14%)
/blog/2023-10-29_basic_auth 65.74 KB 333.45 KB 95.27% (🟡 +0.14%)
/blog/2023-11-30_litellm 69.8 KB 337.51 KB 96.43% (🟡 +0.21%)
/blog/2023-11-30_mongoexpress 66.03 KB 333.75 KB 95.36% (🟡 +0.14%)
/blog/2024-02-19_2024_roadmap 65.71 KB 333.43 KB 95.26% (🟡 +0.14%)
/blog/2024-03-02_ollama 65.95 KB 333.67 KB 95.33% (🟡 +0.14%)
/blog/2024-03-22_unraid_guide 69.47 KB 337.18 KB 96.34% (🟡 +0.14%)
/blog/2024-04-17_blog_guide 67.55 KB 335.26 KB 95.79% (🟡 +0.47%)
/blog/2024-05-01_mlx 65.24 KB 332.95 KB 95.13% (🟡 +0.14%)
/changelog 70.4 KB 338.11 KB 96.60% (🟡 +1.49%)
/changelog/config_v1.0.0 64.55 KB 332.26 KB 94.93% (🟡 +0.17%)
/changelog/config_v1.01 63.84 KB 331.56 KB 94.73% (🟡 +0.16%)
/changelog/config_v1.02 63.91 KB 331.62 KB 94.75% (🟡 +0.16%)
/changelog/config_v1.03 63.96 KB 331.68 KB 94.76% (🟡 +0.16%)
/changelog/config_v1.04 63.84 KB 331.55 KB 94.73% (🟡 +0.15%)
/changelog/config_v1.05 64 KB 331.71 KB 94.77% (🟡 +0.16%)
/changelog/config_v1.06 63.92 KB 331.63 KB 94.75% (🟡 +0.16%)
/changelog/config_v1.07 63.96 KB 331.68 KB 94.77% (🟡 +0.15%)
/changelog/config_v1.08 64.32 KB 332.03 KB 94.87% (🟡 +0.15%)
/changelog/config_v1.09 63.94 KB 331.65 KB 94.76% (🟡 +0.15%)
/changelog/v0.5.0 66.38 KB 334.09 KB 95.45% (🟡 +0.16%)
/changelog/v0.5.1 65.16 KB 332.88 KB 95.11% (🟡 +0.15%)
/changelog/v0.5.2 64.82 KB 332.53 KB 95.01% (🟡 +0.15%)
/changelog/v0.5.3 65.05 KB 332.76 KB 95.08% (🟡 +0.15%)
/changelog/v0.5.4 65.04 KB 332.76 KB 95.07% (🟡 +0.16%)
/changelog/v0.5.5 64.92 KB 332.64 KB 95.04% (🟡 +0.15%)
/changelog/v0.5.6 65.11 KB 332.82 KB 95.09% (🟡 +0.02%)
/changelog/v0.5.7 65.49 KB 333.2 KB 95.20% (🟡 +0.15%)
/changelog/v0.5.8 65.18 KB 332.89 KB 95.11% (🟡 +0.05%)
/changelog/v0.5.9 66.05 KB 333.77 KB 95.36% (🟡 +0.15%)
/changelog/v0.6.0 65.78 KB 333.49 KB 95.28% (🟡 +0.15%)
/changelog/v0.6.0-breaking-changes 64.24 KB 331.95 KB 94.84% (🟡 +0.16%)
/changelog/v0.6.1 65.5 KB 333.21 KB 95.20% (🟡 +0.16%)
/changelog/v0.6.10 65.56 KB 333.27 KB 95.22% (🟡 +0.15%)
/changelog/v0.6.10-breaking-changes 65.55 KB 333.27 KB 95.22% (🟡 +0.15%)
/changelog/v0.6.5 65.9 KB 333.61 KB 95.32% (🟡 +0.15%)
/changelog/v0.6.6 68.05 KB 335.77 KB 95.93% (🟡 +0.23%)
/changelog/v0.6.9 67.32 KB 335.03 KB 95.72% (🟡 +0.22%)
/changelog/v0.6.9-breaking-changes 65.04 KB 332.76 KB 95.07% (🟡 +0.15%)
/changelog/v0.7.0 69.24 KB 336.95 KB 96.27% (🟡 +0.08%)
/changelog/v0.7.0-breaking-changes 66.3 KB 334.01 KB 95.43% (🟡 +0.21%)
/changelog/v0.7.1 66.93 KB 334.64 KB 95.61% (🟡 +0.21%)
/changelog/v0.7.2 66.21 KB 333.92 KB 95.41% (🟡 +0.15%)
/cookie 13.75 KB 281.46 KB 80.42% (🟡 +0.15%)
/demo 10.61 KB 278.33 KB 79.52% (🟡 +0.16%)
/docs 11.97 KB 279.68 KB 79.91% (🟡 +0.23%)
/docs/configuration 11.14 KB 278.86 KB 79.67% (🟡 +0.16%)
/docs/configuration/authentication 93.46 KB 361.18 KB 103.19% (🟡 +0.16%)
/docs/configuration/authentication/OAuth2-OIDC 11.11 KB 278.83 KB 79.66% (🟡 +0.16%)
/docs/configuration/authentication/OAuth2-OIDC/aws 13.04 KB 280.75 KB 80.21% (🟡 +0.16%)
/docs/configuration/authentication/OAuth2-OIDC/azure 12.25 KB 279.96 KB 79.99% (🟡 +0.16%)
/docs/configuration/authentication/OAuth2-OIDC/discord 11.73 KB 279.45 KB 79.84% (🟡 +0.16%)
/docs/configuration/authentication/OAuth2-OIDC/facebook 12.3 KB 280.01 KB 80.00% (🟡 +0.16%)
/docs/configuration/authentication/OAuth2-OIDC/github 11.89 KB 279.61 KB 79.89% (🟡 +0.15%)
/docs/configuration/authentication/OAuth2-OIDC/google 12.44 KB 280.15 KB 80.04% (🟡 +0.16%)
/docs/configuration/authentication/OAuth2-OIDC/keycloak 12.4 KB 280.11 KB 80.03% (🟡 +0.18%)
/docs/configuration/docker_override 12.99 KB 280.71 KB 80.20% (🟡 +0.16%)
/docs/configuration/dotenv 25.21 KB 292.93 KB 83.69% (🟡 +0.52%)
/docs/configuration/firebase 14.06 KB 281.77 KB 80.51% (🟡 +0.50%)
/docs/configuration/librechat_yaml 11.7 KB 279.41 KB 79.83% (🟡 +0.16%)
/docs/configuration/librechat_yaml/ai_endpoints 11.05 KB 278.77 KB 79.65% (🟡 +0.18%)
/docs/configuration/librechat_yaml/ai_endpoints/anyscale 11.29 KB 279 KB 79.71% (🟡 +0.16%)
/docs/configuration/librechat_yaml/ai_endpoints/apipie 12.42 KB 280.14 KB 80.04% (🟡 +0.16%)
/docs/configuration/librechat_yaml/ai_endpoints/cohere 11.65 KB 279.36 KB 79.82% (🟡 +0.15%)
/docs/configuration/librechat_yaml/ai_endpoints/fireworks 11.44 KB 279.16 KB 79.76% (🟡 +0.16%)
/docs/configuration/librechat_yaml/ai_endpoints/groq 11.44 KB 279.15 KB 79.76% (🟡 +0.16%)
/docs/configuration/librechat_yaml/ai_endpoints/litellm 11.29 KB 279 KB 79.71% (🟡 +0.16%)
/docs/configuration/librechat_yaml/ai_endpoints/mistral 11.63 KB 279.35 KB 79.81% (🟡 +0.16%)
/docs/configuration/librechat_yaml/ai_endpoints/mlx 11.51 KB 279.23 KB 79.78% (🟡 +0.18%)
/docs/configuration/librechat_yaml/ai_endpoints/ollama 12.49 KB 280.21 KB 80.06% (🟡 +0.16%)
/docs/configuration/librechat_yaml/ai_endpoints/openrouter 11.63 KB 279.34 KB 79.81% (🟡 +0.16%)
/docs/configuration/librechat_yaml/ai_endpoints/perplexity 11.59 KB 279.31 KB 79.80% (🟡 +0.17%)
/docs/configuration/librechat_yaml/ai_endpoints/shuttleai 11.29 KB 279 KB 79.72% (🟡 +0.15%)
/docs/configuration/librechat_yaml/ai_endpoints/togetherai 11.89 KB 279.6 KB 79.89% (🟡 +0.15%)
/docs/configuration/librechat_yaml/example 16.7 KB 284.42 KB 81.26% (🟡 +0.18%)
/docs/configuration/librechat_yaml/object_structure/assistants_endpoint 12.78 KB 280.49 KB 80.14% (🟡 +0.26%)
/docs/configuration/librechat_yaml/object_structure/azure_openai 13.52 KB 281.24 KB 80.35% (🟡 +0.16%)
/docs/configuration/librechat_yaml/object_structure/config 13.5 KB 281.21 KB 80.35% (🟡 +0.22%)
/docs/configuration/librechat_yaml/object_structure/custom_endpoint 14.68 KB 282.4 KB 80.69% (🟡 +0.34%)
/docs/configuration/librechat_yaml/object_structure/default_params 11.84 KB 279.56 KB 79.87% (🟡 +0.20%)
/docs/configuration/librechat_yaml/object_structure/file_config 13.16 KB 280.87 KB 80.25% (🟡 +0.16%)
/docs/configuration/librechat_yaml/object_structure/interface 12.35 KB 280.06 KB 80.02% (🟡 +0.15%)
/docs/configuration/librechat_yaml/object_structure/model_config 11.79 KB 279.5 KB 79.86% (🟡 +0.16%)
/docs/configuration/librechat_yaml/object_structure/model_specs 15.57 KB 283.29 KB 80.94% (🟡 +0.45%)
/docs/configuration/librechat_yaml/object_structure/registration 11.48 KB 279.19 KB 79.77% (🟡 +0.16%)
/docs/configuration/librechat_yaml/setup 11.58 KB 279.29 KB 79.80% (🟡 +0.17%)
/docs/configuration/logging 12.12 KB 279.83 KB 79.95% (🟡 +0.16%)
/docs/configuration/meilisearch 12.24 KB 279.95 KB 79.99% (🟡 +0.15%)
/docs/configuration/mod_system 12.71 KB 280.42 KB 80.12% (🟡 +0.16%)
/docs/configuration/mongodb/mongodb_atlas 12.36 KB 280.07 KB 80.02% (🟡 +0.16%)
/docs/configuration/mongodb/mongodb_auth 16.48 KB 284.19 KB 81.20% (🟡 +0.15%)
/docs/configuration/mongodb/mongodb_community 12.54 KB 280.26 KB 80.07% (🟡 +0.20%)
/docs/configuration/pre_configured_ai 11.4 KB 279.11 KB 79.75% (🟡 +0.15%)
/docs/configuration/pre_configured_ai/anthropic 11.11 KB 278.82 KB 79.66% (🟡 +0.16%)
/docs/configuration/pre_configured_ai/assistants 12.18 KB 279.9 KB 79.97% (🟡 +0.15%)
/docs/configuration/pre_configured_ai/google 13.91 KB 281.63 KB 80.46% (🟡 +0.20%)
/docs/configuration/pre_configured_ai/openai 11.42 KB 279.13 KB 79.75% (🟡 +0.16%)
/docs/configuration/rag_api 15.09 KB 282.8 KB 80.80% (🟡 +0.42%)
/docs/configuration/token_usage 15.04 KB 282.75 KB 80.79% (🟡 +0.15%)
/docs/configuration/tools 11.87 KB 279.58 KB 79.88% (🟡 +0.16%)
/docs/configuration/tools/azure_ai_search 13.23 KB 280.95 KB 80.27% (🟡 +0.16%)
/docs/configuration/tools/google_search 12.01 KB 279.72 KB 79.92% (🟡 +0.16%)
/docs/configuration/tools/stable_diffusion 12.45 KB 280.16 KB 80.05% (🟡 +0.15%)
/docs/configuration/tools/wolfram 11.42 KB 279.13 KB 79.75% (🟡 +0.17%)
/docs/development 11.82 KB 279.53 KB 79.87% (🟡 +0.15%)
/docs/development/architecture 10.69 KB 278.41 KB 79.55% (🟡 +0.15%)
/docs/development/conventions 13.52 KB 281.23 KB 80.35% (🟡 +0.16%)
/docs/development/debugging 10.75 KB 278.46 KB 79.56% (🟡 +0.16%)
/docs/development/get_started 13.91 KB 281.62 KB 80.46% (🟡 +0.16%)
/docs/development/testing 11.33 KB 279.05 KB 79.73% (🟡 +0.16%)
/docs/development/tools_and_plugins 18.76 KB 286.47 KB 81.85% (🟡 +0.16%)
/docs/development/translation 13.19 KB 280.9 KB 80.26% (🟡 +0.16%)
/docs/documentation 14.11 KB 281.82 KB 80.52% (🟡 +0.16%)
/docs/documentation/examples 56.93 KB 324.64 KB 92.75% (🟡 +0.44%)
/docs/documentation/syntax_highlighting 15.66 KB 283.37 KB 80.96% (🟡 +0.16%)
/docs/local 15.96 KB 283.68 KB 81.05% (🟡 +0.16%)
/docs/local/docker 12.07 KB 279.78 KB 79.94% (🟡 +0.16%)
/docs/local/npm 12.41 KB 280.12 KB 80.03% (🟡 +0.19%)
/docs/remote 16.01 KB 283.72 KB 81.06% (🟡 +0.15%)
/docs/remote/cloudflare 12.72 KB 280.43 KB 80.12% (🟡 +0.16%)
/docs/remote/digitalocean 14.21 KB 281.93 KB 80.55% (🟡 +0.16%)
/docs/remote/docker_linux 18.89 KB 286.61 KB 81.89% (🟡 +0.15%)
/docs/remote/huggingface 12.46 KB 280.18 KB 80.05% (🟡 +0.16%)
/docs/remote/nginx 13.49 KB 281.21 KB 80.34% (🟡 +0.16%)
/docs/remote/ngrok 11.5 KB 279.22 KB 79.78% (🟡 +0.15%)
/docs/remote/railway 11.88 KB 279.59 KB 79.88% (🟡 +0.16%)
/docs/remote/traefik 12.35 KB 280.06 KB 80.02% (🟡 +0.13%)
/docs/user_guides 11 KB 278.71 KB 79.63% (🟡 +0.16%)
/docs/user_guides/ai_overview 11.49 KB 279.2 KB 79.77% (🟡 +0.16%)
/docs/user_guides/authentication 11.61 KB 279.32 KB 79.81% (🟡 +0.15%)
/docs/user_guides/fork 12.91 KB 280.63 KB 80.18% (🟡 +0.16%)
/docs/user_guides/import_convos 11.63 KB 279.35 KB 79.81% (🟡 +0.10%)
/docs/user_guides/mod_system 11.99 KB 279.71 KB 79.92% (🟡 +0.15%)
/docs/user_guides/mongodb 12.65 KB 280.37 KB 80.10% (🟡 +0.16%)
/docs/user_guides/password_reset 11.18 KB 278.89 KB 79.68% (🟡 +0.16%)
/docs/user_guides/plugins 12.33 KB 280.05 KB 80.01% (🟡 +0.16%)
/docs/user_guides/presets 12.65 KB 280.36 KB 80.10% (🟡 +0.16%)
/docs/user_guides/rag_api 13.59 KB 281.3 KB 80.37% (🟡 +0.16%)
/docs/user_guides/search 11.35 KB 279.06 KB 79.73% (🟡 +0.16%)
/pricing 24.62 KB 292.34 KB 83.52% (🟡 +0.39%)
/privacy 23.12 KB 290.83 KB 83.09% (🟡 +0.16%)
/subscribe 51.27 KB 318.98 KB 91.14% (🟡 +0.15%)
/toolkit 11.12 KB 278.84 KB 79.67% (🟡 +0.15%)
/toolkit/creds_generator 139.5 KB 407.22 KB 116.35% (🟡 +0.15%)
/toolkit/yaml_checker 158.95 KB 426.67 KB 121.91% (🟡 +0.41%)
/tos 11.69 KB 279.41 KB 79.83% (🟡 +0.16%)
/unsubscribe 51.27 KB 318.99 KB 91.14% (🟡 +0.16%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@berry-13 berry-13 deleted the embeddings branch August 30, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant