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

📝 docs: update .env.example with RAG API variables #3461

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

aoaim
Copy link
Contributor

@aoaim aoaim commented Jul 27, 2024

Pull Request Template

⚠️ Before Submitting a PR, Please Review:

  • Please ensure that you have thoroughly read and understood the Contributing Docs before submitting your Pull Request.

⚠️ Documentation Updates Notice:

  • Kindly note that documentation updates are managed in this repository: librechat.ai

Summary

RAG does not follow the OPENAI_REVERSE_PROXY setting. I didn't realize this until I looked at https://github.com/danny-avila/rag_api and found that RAG has a special RAG_OPENAI_BASEURL, otherwise it will be the default https://api.openai.com/v1/. This is not good, I believe many people have the need to use a proxy. Therefore, I added these lines to the .env file and added comments, making it convenient for people with the same needs without affecting the default settings.

Change Type

Please delete any irrelevant options.

  • This change requires a documentation update

Testing

No problem.

Checklist

  • I have performed a self-review of my own code
  • My changes do not introduce new warnings

@danny-avila danny-avila changed the title Update .env.example 📝 docs: update .env.example with RAG API variables Aug 5, 2024
@danny-avila danny-avila merged commit 5bbe424 into danny-avila:main Aug 5, 2024
danny-avila added a commit that referenced this pull request Aug 5, 2024
* Update .env.example

* Update .env.example

---------

Co-authored-by: Danny Avila <danacordially@gmail.com>
danny-avila added a commit that referenced this pull request Aug 17, 2024
* Update .env.example

* Update .env.example

---------

Co-authored-by: Danny Avila <danacordially@gmail.com>
kenshinsamue pushed a commit to intelequia/LibreChat that referenced this pull request Sep 17, 2024
* Update .env.example

* Update .env.example

---------

Co-authored-by: Danny Avila <danacordially@gmail.com>
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.

2 participants