NeMo-Guardrails
NeMo-Guardrails copied to clipboard
NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.
nemoguardrails version 0.7.1 llm-model used = gpt-3.5-turbo getting response having Bot intent: Bot message: sometimes. {'role': 'assistant', 'content': 'Could you please provide more specific details to assist you effectively? This...
im trying to use self_check_facts out of the box here is the relevant part of my yml: rails: output: flows: - self check facts here is colang file: define bot...
Hi, thanks for the amazing framework! I am trying to execute an action from a variable, something like this, but i don't know the syntax or if that is possible....
Getting a type error when running the basic langchain with guardrails example. ``` from langchain_core.output_parsers import StrOutputParser template = """ You are a smart assistant that answers questions. Question: {question}...
Is it possible to replace "greeting" and the response from English to other language such as Chinese or Japanese? For example. define user express greeting "hello" "hi" define user express...
` query="What is the capital of france?" response_rail = await self.rails.generate_async(messages=[{"role": "user", "content": query}])` ``` nemoguardrails.logging.callbacks INFO 04/11/2024 11:37:17.117 - Prompt :: """ Below is a conversation between a helpful...
This PR is to fix a corner case. Although the triggering of bug could be rare, the bug in the code needs to be fixed. - in `if "::" in...
This PR is in response to issue #451
I have Implemented Neoguardrails in Retrieval QA chain with llama2 model but it is giving error My code: ``` MODEL_TYPE=GPT4All MODEL_PATH=r'C:\Users\komal\Desktop\mages\chatbot\llama-2-7b-chat.Q3_K_M.gguf' MODEL_N_CTX=1000 MODEL_N_BATCH=8 TARGET_SOURCE_CHUNKS=4 llm = LlamaCpp(model_path=MODEL_PATH, n_ctx=MODEL_N_CTX, n_batch=MODEL_N_BATCH, verbose=False)...
Hi; I'm unsure whether this is expected but I see that installing the nemo guardrails package installs two additional modules beyond "nemoguardrails": "examples" and "chat-ui". If possible, could those be...