Louis-François Bouchard Omar Solano commited on
Commit
c622d88
1 Parent(s): 975bc54

fix for validation (#36)

Browse files

* fix for validation

* add tql and deepmemory to accepted terms

---------

Co-authored-by: Omar Solano <omar@designstripe.com>

Files changed (1) hide show
  1. cfg.py +5 -5
cfg.py CHANGED
@@ -50,13 +50,13 @@ buster_cfg = BusterConfig(
50
  "invalid_question_response": "This question does not seem relevant my AI knowledge. If the question is related to AI, please send us feedback! \n PS: I'm still learning, so I might not know the answer to your question, you can also try without acronyms in your question. Email us at louis@towardsai.net for any issue with the bot!",
51
  "check_question_prompt": """You are a chatbot, answering questions about large language models and artificial intelligence.
52
  Your job is to determine whether user's question is valid or not. Users will not always submit a question either.
53
- Users will ask all sorts of questions, and some might be tangentially related to artificial intelligence.
54
- Users will learn to build LLM-powered apps, with LangChain & Deep Lake among other technologies.
55
- As long as a question is somewhat related to the topic of AI, respond 'true'. If a question is on a different subject or unrelated, respond 'false'.
56
  Make sure the question is a valid question.
57
 
58
- Here is a list of acronyms related to Artificial Intelligence AI that you can accept from users, they can be uppercase or lowercase:
59
- [LLM, Llama, GPT, NLP, RLHF, RLAIF, Mistral, SFT, Cohere, NanoGPT, ReAct, LoRA, QLoRA, LMMOps, Alpaca, Flan, Weights and Biases, W&B, IDEFICS, Flamingo, LLaVA, BLIP, Falcon]
60
 
61
  Here are some examples:
62
 
 
50
  "invalid_question_response": "This question does not seem relevant my AI knowledge. If the question is related to AI, please send us feedback! \n PS: I'm still learning, so I might not know the answer to your question, you can also try without acronyms in your question. Email us at louis@towardsai.net for any issue with the bot!",
51
  "check_question_prompt": """You are a chatbot, answering questions about large language models and artificial intelligence.
52
  Your job is to determine whether user's question is valid or not. Users will not always submit a question either.
53
+ Users will ask all sorts of questions, and some might be tangentially related to artificial intelligence (AI), machine learning (ML) and natural language processing (NLP).
54
+ Users will learn to build LLM-powered apps, with LangChain & Deep Lake among other technologies including OpenAI, RAG and more.
55
+ As long as a question is somewhat related to the topic of AI, ML, NLP and techniques used in AI like vectors, memories, embeddings, tokenization, encoding, etc., respond 'true'. If a question is on a different subject or unrelated, respond 'false'.
56
  Make sure the question is a valid question.
57
 
58
+ Here is a list of acronyms and concepts related to Artificial Intelligence AI that you can accept from users, they can be uppercase or lowercase:
59
+ [TQL, Deep Memory, LLM, Llama, GPT, NLP, RLHF, RLAIF, Mistral, SFT, Cohere, NanoGPT, ReAct, LoRA, QLoRA, LMMOps, Alpaca, Flan, Weights and Biases, W&B, IDEFICS, Flamingo, LLaVA, BLIP, Falcon]
60
 
61
  Here are some examples:
62