Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update README.md #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Update README.md #10
Changes from all commits
4559479a028162File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
azure-openai-in-a-day-workshop
Workshop agenda
🌅 Morning (9:00 – 12:00)
🌆 Afternoon (1:00 – 4:30)
- Recap (15min)
- 📣 Using Azure OpenAI Service to access company data (60min)
- How to bring your own data
- Fine-tuning and embedding
- Solutions Accelerators
- QnA session (30min)
- 💻 Hands-on lab on two exemplay use-cases (90min)
📣 Presentation, 🧑🏼💻 Hands-on labPreparation
Azure OpenAI Service subscription and deployments
Grant the participant access to the Azure OpenAI Service subscription and create the required deployments.
Ideally, grant the participants access to Azure OpenAI Service service be assigning the
Cognitive Service OpenAI user. If the participant is aCognitive Service OpenAI contributor, they can create the following deployments themselves.Otherwise, create 'text-davinci-003' and 'text-embedding-ada-002' deployments (and assign the participant to the deployments).
There are two ways to authenticate (see Jupyter notebooks):
Get the Azure OpenAI Service endpoint (and key) from the Azure portal.
Workspace environment
Choose one of the following options to set up your environment: Codespaces, Devcontainer or bring your own environment (Anaconda). Building the environment can take a few minutes, so please start early.
1️⃣ Codespaces
The following instructions will discribe how to setup Codespace on your browser This option does not required any software installation or preparation on your Computer
Codebutton.envfile in the base folder including Azure OpenAI Service endpoint and key before starting any notebooksCodebutton then chooseCreate Codespace on Main.pip install -r requirements.txt, this will make sure that all requried python liberaries are installed and good to go..env. Make sure you are in the base folder when you are creating the file.OPENAI_API_KEY=xxxxxxOPENAI_API_BASE=xxxxxexcersizes\quickstart.ipynb.Python Enviromentsthen selectPython 3.9.22️⃣ Devcontainer
Reopen in Container.envfile in the base folder including Azure OpenAI Service endpoint and key before starting any notebooks.env. Make sure you are in the base folder when you are creating the file.OPENAI_API_KEY=xxxxxxOPENAI_API_BASE=xxxxxexcersizes\quickstart.ipynb.Python Enviromentsthen selectPython 3.9.2.3️⃣ Bring your own environment
Make sure you have the requirements installed in your Python environment using
pip install -r requirements.txt.Content of the repository
Exercises
Solutions
Do not cheat! 😅
Q&A Quick Start
If you want to quickly create a Q&A webapp using your own data, please follow the quickstart guide notebook.
If you want to use LangChain to build an interactive chat experience on your own data, follow the quickstart chat on private data using LangChain.
If you want to use LlamaIndex 🦙 (GPT Index), follow the quickstart guide notebook with llama-index.