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/configure temperature #55

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from

Conversation

AnniePacheco
Copy link

@AnniePacheco AnniePacheco commented Sep 18, 2024

Summary

This PR includes the following modifications:

  • Set temperature of model as part of configurable variable (.env)
  • Set as default model llama3:latest
  • Print the context use to retrieve chat_response
  • Use ChatPromptTemplate instead PromptTemplate to concatenate the prompt

Changes

  • Updated MessagesManager.py
  • Updated RagManager.py
  • Updated ResourcesManger.py

Related Issues

N/A

Type of Change

New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING documentation.
  • I have performed a self-review of my own code.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the documentation (if applicable).

Screenshots (if applicable) Example of use:

image

Additional Context

Tested locally using Swagger.

@AnniePacheco AnniePacheco added the enhancement New feature or request label Sep 18, 2024
@AnniePacheco AnniePacheco self-assigned this Sep 18, 2024
Copy link

sonarcloud bot commented Sep 18, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants