Skip to content

Updated .env.example to show RAG_USE_FULL_CONTEXT variable #4493

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

Closed

Conversation

timmanik
Copy link
Contributor

Summary

Currently, there isn't documentation that highlights the ability to use full context of the documents uploaded for RAG. This causes new users like myself to run into subpar RAG results in certain scenarios. Adding the RAG_USE_FULL_CONTEXT to the .env.example file for better visibility.

Relevant PRs

Change Type

Please delete any irrelevant options.

  • This change requires a documentation update

Testing

The functionality of using RAG_USE_FULL_CONTEXT has already existed and been tested. Thought I tested it again and it works. The results of the RAG output is different when setting RAG_USE_FULL_CONTEXT=true and not having the variable defined at all in .env.

Test Configuration:

Checklist

Please delete any irrelevant options.

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have made pertinent documentation changes
  • Local unit tests pass with my changes
  • A pull request for updating the documentation has been submitted.

@timmanik timmanik closed this Oct 21, 2024
@timmanik
Copy link
Contributor Author

Closed because I accidentally added change from another PR into this PR -- my apologies. Submitted the proper PR: #4493

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