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

Context limitation #25

Open
kma opened this issue Dec 18, 2024 · 1 comment
Open

Context limitation #25

kma opened this issue Dec 18, 2024 · 1 comment

Comments

@kma
Copy link

kma commented Dec 18, 2024

Hi,

This example works great with local and remote ollama.

However, the bot should be limited to the PDF context and should not answer other generic questions.

For example, it should ignore questions like: generate Java HelloWorld example.

Tahnks for the great work.

@tonykipkemboi
Copy link
Owner

This is a good suggestion. Have you tried passing in the temperature=0.0 to the model?

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

No branches or pull requests

2 participants