I am working on a 'chat bot' for a work project that will let me 'talk' with documents. Part of the project is being able to have the AI know when not to answer certain questions. Essentially, I want to protect PII due to HIPPA laws, so if a user asks about something they wouldn't have access to, the AI won't answer or will reply with "I can't answer that..". Something I looked at was ConstitutionalChain and ConstitutionalPrinciple and implementing ethics, but I'm unsure if I'm able to implement that with document retrieval. Anyone worked with this before or encountered a different way to go about it?
Is it possible to give AzureChatOpenAI 'rules' to follow?
270 Views Asked by datacat At
1
There are 1 best solutions below
Related Questions in OPENAI-API
- Scrimba tutorial was working, suddenly stopped even trying the default
- How to return HTTP Get request response from models class in Django project
- Protect OpenAI key using Firebase function
- Python ChatGPT bot issue with openai.Completion
- How do I send an audio file to OpenAi?
- Fine-Tuning Large Language Model on PDFs containing Text and Images
- Error Accessing completions Property of openai in Node.js Module
- LangChain OpenAI Agent with Sources
- Azure openai load testing mode
- how to add the button onto the furnace GUI in minecraft
- How can I use open ai api key for my tic tac toe game
- Getting an error while using the open ai api to summarize news atricles
- How to integrate source section in chat gpt API in py?
- Why does this error keep showing, what am i missing? await message.channel.send(f"Answer: {bot_response}") IndentationError: unexpected indent
- How do I embed json documents using embedding models like sentence-transformer or open ai's embedding model?
Related Questions in LANGCHAIN
- ImportError: cannot import name 'HuggingFaceInferenceAPI' from 'llama_index.llms' (unknown location)
- ModuleNotFoundError: No module named 'llama_index.node_parser'
- SSL Certificate Verification Error When Scraping Website and Inserting Data into MongoDB
- LangChain OpenAI Agent with Sources
- I am unable to perform the vector embeddings with the help of pinecone and python
- Stop AgentExecutor chain after arriving at the Final answer (in LangChain)
- How to navigate to previous chats using Langchain much like ChatGPT does?
- How does Conversational Retrieval QA Chain different from Retrieval Qa chain
- How to integrate source section in chat gpt API in py?
- Why does the langchain agent custom template {agent_scratchpa} contain objects? How does it parse into a string?
- How to add context to chat-gpt twilio customer service bot?
- PostgreSQL & Langchain query - No operator matches the given name and argument types
- Implement filtering in RetrievalQA chain
- Is AI21SemanticTextSplitter (from langchain_ai21) Deprecated?
- pymongo.errors.OperationFailure: Error in specification
Related Questions in PY-LANGCHAIN
- I am unable to perform the vector embeddings with the help of pinecone and python
- Stop AgentExecutor chain after arriving at the Final answer (in LangChain)
- How to integrate source section in chat gpt API in py?
- Retrieving Vectors from existing Pinecone Vector Database
- how to use a fine tuned model in from langchain_community.llms.Ollama
- How to manipulate args_schema for LangChain's StructuredTool?
- Chroma.from_texts() 'numpy.ndarray' object has no attribute 'embed_documents' Error
- Langchain agent keyerror: 'agent'
- How can I install faiss-gpu?
- `expected string or buffer` error when running retriever within an LCEL chain, even working fine independently
- `run` not supported when there is not exactly one output key. Got ['quiz', 'review']
- Error: Chain.call() got an unexpected keyword argument 'text'
- Langserver could not import module app.server
- Problem with Vertex AI's prediction endpoint
- Problems With Python and Ollama
Related Questions in AZURE-OPENAI
- Azure openai load testing mode
- Azure Open AI Embedding Skillset - Error in skill 'Azure OpenAI Embedding skill': 'uri' parameter cannot be null or empty
- Implement filtering in RetrievalQA chain
- How to invoke multiple LLM model in single chain or invoke multiple LLM model parallelly in Langchain?
- How to trace back content origin within a document from the query response of Azure AI Search?
- Open AI API Key missing
- Can't embed with model in Azure AI Studio
- Azure OpenAI and load balancer configuration using APIM
- Issues with File Parsing in Azure OpenAI Assistant
- Remove/exclude default response from langserve chain response while invoke method curl or postman with Pydantic Output Parser
- Azure OpenAI Service REST API
- How to use PandasAI with azure managed identity?
- unable to add SerpConnection for promptflow in VSCode
- Having Problems with AzureChatOpenAI()
- How to enable cross-language query search in Azure Cognitive Search with Ada Embeddings?
Related Questions in AZURE-AI
- Azure AI Speech Service - No punctuation on Recognized return
- Can't embed with model in Azure AI Studio
- Azure AI Search sample index for .msg email files
- Azure Speech Services start_continuous_recognition() is not letting streamlit st.write() the recognized text
- Incorrect index value and original index value for content moderator API?
- Uploading documents to Azure AI search
- How to use Managed Identity for a Python application which uses an Azure AI service?
- Does it take time between when a service principal is created and when it can be used?
- Can't configure a regional API endpoint for AzureOpenAIEmbeddingSkill
- How to Enrich a Custom Extraction Model with Multiple Datasets
- Correct documentation of language detection in Azure AI
- Invalid Authentication Token Once Creating a Content Filter on Microsoft Azure AI Studio
- is Azure SDK for Document Intelligence .NET support analyzing multiple pages with my custom models?
- Increase summary length using MS Azure-AI services
- Azure Machine Learning SDK V2 changer version of python in Compute Cluster
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Filtering will be supported eventually, thus you can use security filters to trim the results. See Security filters for trimming results - Azure Cognitive Search | Microsoft Learn.