Skip to content

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

Merged
danny-avila merged 2 commits into
danny-avila:mainfrom
aoaim:patch-2
Aug 5, 2024
Merged

📝 docs: update .env.example with RAG API variables#3461
danny-avila merged 2 commits into
danny-avila:mainfrom
aoaim:patch-2

Conversation

@aoaim

@aoaim aoaim commented Jul 27, 2024

Copy link
Copy Markdown
Contributor

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
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>
BertKiv pushed a commit to BertKiv/LibreChat that referenced this pull request Dec 10, 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