Giter Site home page Giter Site logo

azureai-samples's Introduction

Azure AI Samples

license: MIT

Welcome to the Azure AI Samples repository!

This repository acts as the top-level directory for official Azure AI sample code and examples. It includes notebooks and sample code that contain end-to-end samples as well as smaller code snippets for common developer tasks.

This repository is entirely open source, guidance on how to contribute and links to additional repositories are provided below.

Use the samples in this repository to try out Azure AI scenarios on your local machine!

Supplementary Documentation

Other Sample Repositories

Azure AI Studio

Azure AI Search

Azure AI Assistant

  • Azure-Samples/azure-ai-assistant-tool - Repo containing the Azure AI Assistant Tool and Python middleware libraries for quick experimentation, testing, and debugging of Azure OpenAI assistants in your local environment.

Copilot

OpenAI

Contributing

We welcome contributions and suggestions! Please see the contributing guidelines for details.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. Please see the code of conduct for details.

Getting Help

Issues

If you find a bug in the source code or a mistake in the documentation, feel free to submit bug report . Or you could submit a pull request with a fix.

Feature Requests

If there's an sample that you'd like to see added, feel free to file a Feature Request.

If you'd like to implement it yourself, please refer to our contributing guidelines.

azureai-samples's People

Contributors

andrespad avatar balapv avatar brandom-msft avatar diondrapeck avatar gerbermarco avatar hkesavam avatar jhakulin avatar kdestin avatar luz-camacho avatar mahsarouzbahman avatar microsoftopensource avatar minthigpen avatar nagkumar91 avatar nebilibrahim22 avatar paulshealy1 avatar seilorjunior avatar shikha1970 avatar simon514771 avatar sinedied avatar sonalim-0 avatar timschps avatar zhizhoualan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azureai-samples's Issues

Notebook samples do not work

Operating System

Windows

Version Information

Operating System
Windows

Version Information
Python Version: 3.12.2

I am following the notebook sample verbatim found HERE. It does not work.

The cell where you prep the assistand with the file_ids throws:
NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}

Steps to reproduce

Just try to run the sample.

Expected behavior

It should be able to answer the questions using process_message

Actual behavior

Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}

Addition information

No response

Action required: migrate or opt-out of migration to GitHub inside Microsoft

Migrate non-Open Source or non-External Collaboration repositories to GitHub inside Microsoft

In order to protect and secure Microsoft, private or internal repositories in GitHub for Open Source which are not related to open source projects or require collaboration with 3rd parties (customer, partners, etc.) must be migrated to GitHub inside Microsoft a.k.a GitHub Enterprise Cloud with Enterprise Managed User (GHEC EMU).

Action

✍️ Please RSVP to opt-in or opt-out of the migration to GitHub inside Microsoft.

❗Only users with admin permission in the repository are allowed to respond. Failure to provide a response will result to your repository getting automatically archived.🔒

Instructions

Reply with a comment on this issue containing one of the following optin or optout command options below.

✅ Opt-in to migrate

@gimsvc optin --date <target_migration_date in mm-dd-yyyy format>

Example: @gimsvc optin --date 03-15-2023

OR

❌ Opt-out of migration

@gimsvc optout --reason <staging|collaboration|delete|other>

Example: @gimsvc optout --reason staging

Options:

  • staging : This repository will ship as Open Source or go public
  • collaboration : Used for external or 3rd party collaboration with customers, partners, suppliers, etc.
  • delete : This repository will be deleted because it is no longer needed.
  • other : Other reasons not specified

Need more help? 🖐️

Notebook samples do not work

Operating System

Windows

Version Information

Python Version: 3.12

I am following the notebook sample verbatim found HERE. It does not work.

The cell where you prep the assistand with the file_ids throws:
BadRequestError: Error code: 400 - {'error': {'message': 'Files [assistant-abc123] are invalid', 'type': 'invalid_request', 'param': None, 'code': None}}

Steps to reproduce

Just try to run the sample.

Expected behavior

It should be able to answer the questions using process_message

Actual behavior

Fails to create the assistant using the file_ids

Addition information

No response

Broken link for Incorporate multi-modality sample on Azure Ai Studio

Operating System

Windows

Version Information

image

Broken Link for Sample code for multi-modality in azure ai studio page

Steps to reproduce

  1. Visit Azure Ai Studio Page - ai.azure.com
  2. Click on Open in GitHub in Incorporate multi-modality section

Expected behavior

Go to a sample Jupyter notebook GPT-4V.ipynb

Actual behavior

The Notebook is not present or the Link is not correctly mapped to the actual sample code

image

Addition information

Not sure if this needs to be added as a new issue.
Please close this issue if it is not relevant

Broken links in Assistants API in-a-box README for Sample Assistants

Operating System

Linux

Version Information

Python: 3.11.7

Steps to reproduce

  1. Go to /azureai-samples/scenarios/Assistants/assistants-api-in-a-box/notebooks/README.md
  2. Scroll to #sample-assistants---jupyter-notebooks section: sample assistants section
  3. Click/follow on any of the 4 sample assistants listed

Expected behavior

Links should go to each of the 4 sample assistants mentioned

Actual behavior

File not found for each

Addition information

⬇️ markdown and relative link issue - should repo in any envio. inc. just browsing readme in github.com

There are some examples in the /notebooks folder but they're named differently to the ones in the README. It's not clear which is which, or if these are the same samples referred to in the README

🙏 Thank you for providing these samples and READMEs - this is an exciting new feature and this is a great way to get hands-on. keen to test!😄

Sample Assistants - Jupyter notebooks

Operating System

Windows

Version Information

Sample Assistants - Jupyter notebooks that are listed on the Assistants API-in-a-Box readme file are not available ( the links are broken)

Topic Description
Assistant-01: Foundational Concepts Showcases the foundational concepts of Assistants such as Threads, Messages, Runs, Tools, and lifecycle management.
Assistant-02: Helper The aihelper.py file serves as a helper library that extracts repetitive code, such as handling lifetime events. It keeps track of instantiated Assistants, Files, and Threads, and can dispose of them when they are no longer needed. aihelper.py also provides a delegate interface to pass Assistant functions. While it is not mandatory to use aihelper.py in your code, this Assistant and the others depend on it.
Assistant-03: Financial Summary Assistant Using Function calling, this Assistant can summarize a financial news article, extract the ticker symbols from the article, and provide a summary of the article and the latest (simulated) stock prices.
Assistant-04: Portpolio Reporting Assistant Using Assistant tools Code Interpreter and Function calling, this bot can get a CSV portfolio file, calculate the latest portfolio value based on the latest stock prices, point out the best and the worst investment, and email a report to a client.
Prerequisites

Steps to reproduce

go to the Assistants API-in-a-Box readme page

Expected behavior

the sample notebooks should be there by clicking on the links

Actual behavior

the links mentioned above are not avaiable.

Addition information

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.