Azure-Samples / Azure-Samples/azureai-samples

Notebook samples do not work

Open
#58 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
548
Forks
318
Avg merge
3d 15h
Merged PRs (30d)
1

Description

### Operating System

Windows

### Version Information

Python Version: 3.12

I am following the notebook sample verbatim found [HERE](https://github.com/Azure-Samples/azureai-samples/blob/main/scenarios/Assistants/assistants-api-in-a-box/notebooks/assistant-failed_banks.ipynb). 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.