azure-sdk-for-js: [@azure/openai-assistants] Retrieval Tool Error

  • Package Name: @azure/openai-assistants
  • Package Version: “1.0.0-beta.3”,
  • Operating system: windows 10
  • [18 ] nodejs
    • version:
  • [ N/A] browser
    • name/version:
  • [5] typescript
    • version:
  • Is the bug related to documentation in

Describe the bug Following the Docs here It is advised to use the following to enable file uploads:

tools: [{ type: "retrieval" }]

However on executing this, I get Retrieval tools are not supported.. I suspect this might be more on the API side than the library, but would be good to clarify, considering the only other alternative is enabling Code Interpreter which is currently rather expensive.

To Reproduce Steps to reproduce the behavior:

  1. Create Assistants Client with Tools Type Retrieval

Expected behavior Can Attach File IDs to the Assistant

Screenshots image

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 8
  • Comments: 16 (2 by maintainers)

Most upvoted comments

Azure Please provide us with the retrieval tool option in Azure Assistants API

Really disappointed now that OpenAI has released v2 for retrieving files while Azure OpenAI still has not supported the v1.

Any update on the support of retrieval tools ?

Hello! Totally understood on the frustration and disappointment; retrieval/file_search is the number one most-requested feature missing on the Azure OpenAI service at the moment.

We’ll have news to share quite soon.

@imranselim9 @harryault-dev @venkata-gandla

I got some information from Microsoft’s customer service today (February 21, 2024). Currently, the ‘type’ attribute in ‘tools’ only supports ‘code_interpreter’ or ‘function’. The ‘retrieval’ feature is expected to launch in the coming weeks, but they did not provide a specific timeline for it.

0f886558-fd48-40e6-b4eb-f848540374a4

It’s been sooo long, this feature is integral for my company

I’m unsure why it’s taking so long to implement this feature. I wonder if this delay is intentional, especially since Azure offer the ‘Azure OpenAI On Your Data’ feature…