Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Azure Bootcamp 2023 - Use the power of OpenAI to leverage your business application

Azure Bootcamp 2023 - Use the power of OpenAI to leverage your business application

Use the power of OpenAI to leverage your business application

David Schneider

May 11, 2023
Tweet

More Decks by David Schneider

Other Decks in Technology

Transcript

  1. Use the power of OpenAI to leverage your business application

    Azure Bootcamp Switzerland - David Schneider
  2. OpenAI is great, but… Knowledge • No knowledge about the

    company, industry and customers Compliance • Data Privacy: Data is leaving “own” network • Copyright Manageability • SLA • Billing • Authentication
  3. Azure OpenAI Offering • Available models: GPT-4*, GPT-3, gpt-35-turbo*, Codex,

    Embeddings, etc. • Regions: East US, South Central US, West Europe • Managed identities • Virtual network support • Azure Management • Azure Billing • Feature Parity • Same API and SDK as for OpenAI
  4. Customer data is… - processed only in the subscription of

    the customer - not sent to OpenAI - not used to train, retrain or improve the model - stored (prompts and completions) for 30 days to monitor and to detect content violation. Opt-out. Data Privacy @ Azure OpenAI
  5. #1: System Message Set the context using a “System Message”

    “You are …” “Answer I don’t know …” Domain knowledge
  6. #3: Embedding “Azure Bootcamp” Embedding Model -0.0002 -0.0322 0.0064 -0.0215

    -0.0132 …. Text as a vector text-embedding-ada-002 Similarity between two words is typically measured using cosine similarity.
  7. Solution Blueprint Vector DB (Redis, PostgreSQL, Pinecone, etc.) Azure OpenAI

    (GPT-4) App App Server, Orchestrator Query → Knowledge Prompt + Knowledge → Response Domain Knowledge Generate embeddings
  8. Document summarization: Develop a sophisticated Q&A bot capable of comprehensively

    summarizing vast document sets, including contracts, RfPs, and more
  9. HR Bot: Equip your HR bot with the employee handbook,

    allowing it to quickly and accurately answer any HR- related questions.
  10. Anomaly Detection: Monitor and detect unusual patterns or anomalies in

    text data to proactively identify potential security threats or compliance issues
  11. • Data, privacy, and security for Azure OpenAI Service https://learn.microsoft.com/en-us/legal/cognitive-services/openai/data-privacy

    • Code used in this presentation https://github.com/fiddi/openai-playground • ChatGPT + Enterprise data with Azure OpenAI and Cognitive Search https://github.com/Azure-Samples/azure-search-openai-demo References