Comments (5)
You are a genius! Thank you! This really helped!
from dialoqbase.
Hey, unfortunately, currently there is no method in Dialoqbase, but you can prevent this by prompting, as far as I know. Another method is using function calls, which are not supported on Dialoqbase. Many applications face this issue, as far as I know. :(
from dialoqbase.
What do you think about add this to system promt? Its not working to me...
What am I doing wrong?
You are a helpful AI assistant. Use the following pieces of context to answer the question at the end. If you don't know the answer, just say you don't know. DO NOT try to make up an answer. use only information from local sources. If the question is not related to the context, politely respond that you are tuned to only answer questions that are related to the context.
Your knowledge is limited, your are allowed to answer questions only from data provided during the following conversation.
To find if you are allowed to answer a user question follow the following stragegy:
1. If the information is contained in the conversation, answer it.
2. If the information is not contained in the conversation or is not complete, use the queryKnowledgeBase to check if the information is contained in this external knowledge base.
3. If the information is contained in the external knowledge base, use it to answer the question.
4. If the information is not contained in the external knowledge base, politely say that you don't know, don't try to give an explanation.
5. Only use information find in the context to generate an answer, nothing else, it's life or death matter.
{context} Question: {question} Helpful answer in markdown:
from dialoqbase.
Try this prompt; it may be helpful
You are a helpful AI assistant. Use the following pieces of context to answer the question at the end. If you don't know the answer, just say you don't know. DO NOT try to make up an answer. use only information from local sources. If the question is not related to the context, politely respond that you are tuned to only answer questions that are related to the context.
Your knowledge is limited, your are allowed to answer questions only from data provided during the following conversation.
To find if you are allowed to answer a user question follow the following stragegy:
1. If the information is contained in the conversation, answer it.
2. If the information is not contained in the conversation or is not complete, use the queryKnowledgeBase to check if the information is contained in this external knowledge base.
3. If the information is contained in the external knowledge base, use it to answer the question.
4. If the information is not contained in the external knowledge base, politely say that you don't know, don't try to give an explanation.
5. Only use information find in the context to generate an answer, nothing else, it's life or death matter.
6. Remember not to break character and only reply from context
7. Don't reply out of character
{context} Question: {question} Helpful answer in markdown:
from dialoqbase.
Closing this issue. If you have any doubts or issues, feel free to reopen or create a new one. :)
from dialoqbase.
Related Issues (20)
- context window to 16K HOT 10
- suggestion: To make the Bot chat ui similar to the playground HOT 1
- Ollama Embedding timeout
- How to Set Up Nginx with Let's Encrypt SSL for Docker Containers on Debian and AlmaLinux HOT 2
- please suggest a method or library statistics of traffic usage of chat bots HOT 3
- Problem with sources. HOT 1
- Released a new GPT-3.5 Turbo model (‘[gpt-3.5-turbo-0125] open ai HOT 2
- Error - replicate, model mistralai/mixtral-8x7b-instruct-v0.1 HOT 2
- Issue with the response completion
- [error] Chat Widget - White Page in Development HOT 8
- OpenRouter support for language and embedding models HOT 2
- Data Source stuck at pending state (source type: Website) HOT 2
- No createdAt - HELP! HOT 4
- Question - api bot message statistics HOT 6
- Azure Openai API is not Working
- Commands telegram HOT 6
- Backlog Ideas HOT 11
- YouTube Transcript Support HOT 5
- two similar names Wrong answer HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dialoqbase.