feat: Enable web search feature without external services #5 #1
Closed
feat: Enable web search feature without external services #5 #1
Conversation
- Introduced `.gitmodules` to manage submodules for `rag_api`, `librechat`, and `agents`. - Added `docker-compose.librechat.override.yml` for local builds using submodules. - Updated `docker-compose.librechat.yml` to expose the RAG API port and include new environment variables for the simple reranker. - Enhanced `env.example` with configurations for the simple reranker model. - Updated `librechat.yaml` to switch reranker type to "simple". - Added README.md in the `dev` directory for setup instructions and usage of submodules. - Initialized submodules for local development.
…models - Added multiple options for reranker models, including performance notes for CPU and GPU usage. - Clarified the reranker invocation process during web searches. - Provided recommendations for model selection based on resource availability.
Collaborator
Review of PR #1: Enable Web Search Feature Without External ServicesSummaryThis PR introduces a development setup to enable testing of PRs and local changes to services directly, with a focus on integrating the Simple Reranker and ensuring web search functionality works fully with local services. The changes include:
Detailed AnalysisStrengths
Weaknesses
Suggestions for Improvement
Inline Comments
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a development setup that enables testing PRs and local changes to services directly, with a focus on completing the Simple Reranker integration and ensuring web search works fully with local services.
Changes
Git Submodules for Development
rag_api,librechat, andagentsindev/directorydev/rag_api:rerankerbranch (Simple Reranker endpoint PR)dev/librechat:new/feature/simple_rerankerbranch (Simple Reranker integration PR)dev/agents:simple_rerankerbranchDocker Compose Override for Local Builds
docker-compose.librechat.override.ymlto enable building services from local submoduleslibrechatandrag_apiservicesSimple Reranker Configuration
SIMPLE_RERANKER_MODEL_NAME(default:mixedbread-ai/mxbai-rerank-large-v1)SIMPLE_RERANKER_MODEL_TYPE(default:cross-encoder)docker-compose.librechat.ymlto pass reranker environment variables torag_apiserviceDocumentation
dev/README.mdwith setup instructions for:README.mdwith reference to development setupPurpose
rag_apiPR and the integration fromlibrechatPRUsage
To use local builds:
To use published images (default):
Testing
Test the reranker endpoint:
Notes
git submodule update --remotedocker-compose.librechat.ymlpending review of the PR implementationRelated