Need help to make tools work on Azure Assistants #3255
Replies: 7 comments 3 replies
-
The filtering for assistant tools in ToolService, is based on the plugin filename in api/app/clients/tools/structured. I didn't try it but looking at the code you can try including both the plugin id as well as the filename (e.g. |
Beta Was this translation helpful? Give feedback.
-
Hi did the toolname/filename worked i tried the following - includedTools: ["calculator","stable-diffusion/StableDiffusion.js","google/GoogleSearch.js","wolfram/Wolfram.js","dalle/DALLE3.js","azure-ai-search/AzureAISearch.js","tavily_search_results_json/TavilySearchResults.js","traversaal_search/TraversaalSearch.js","dall-e/DALL-E.js","image_prompt_enhancer","web-browser"] |
Beta Was this translation helpful? Give feedback.
-
Hi ,
Thankyou for replying you mean something like this-
includedTools: ["calculator","stable-diffusion,"google","wolfram,"dalle","azure-ai-search","tavily_search_results_json","traversaal_search","dall-e","image_prompt_enhancer","web-browser"]
And this should work?
I tried this method above but it did not work.
Regards,
Mansi Gusain.
…________________________________
From: Benedikt Nordhoff ***@***.***>
Sent: Wednesday, July 17, 2024 4:27 PM
To: danny-avila/LibreChat ***@***.***>
Cc: Mansi Gusain ***@***.***>; Comment ***@***.***>
Subject: [EXTERNAL] Re: [danny-avila/LibreChat] Need help to make tools work on Azure Assistants (Discussion #3255)
You may try the latest development version from main and include only the pluginKey as listed in the manifest. json. Or (with older versions) you include both the pluginKey as well as the (unqualified) file name as separate entities in the list.
You may try the latest development version from main and include only the pluginKey as listed in the manifest.json<https://github.com/danny-avila/LibreChat/blob/main/api/app/clients/tools/manifest.json>.
Or (with older versions) you include both the pluginKey as well as the (unqualified) file name as separate entities in the list.
—
Reply to this email directly, view it on GitHub<#3255 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BHRPDVV6Y3ZOATCRH5IN2NLZMZEZRAVCNFSM6AAAAABKKFMY4WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBXGIZTANY>.
You are receiving this because you commented.Message ID: ***@***.***>
Unless otherwise stated above:
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Also, I am using this image - https://ghcr.io/danny-avila/librechat-api:v0.7.4-rc1.
Regards,
Mansi Gusain.
…________________________________
From: Mansi Gusain ***@***.***>
Sent: Wednesday, July 17, 2024 4:31 PM
To: danny-avila/LibreChat ***@***.***>
Subject: Re: [EXTERNAL] Re: [danny-avila/LibreChat] Need help to make tools work on Azure Assistants (Discussion #3255)
Hi ,
Thankyou for replying you mean something like this-
includedTools: ["calculator","stable-diffusion,"google","wolfram,"dalle","azure-ai-search","tavily_search_results_json","traversaal_search","dall-e","image_prompt_enhancer","web-browser"]
And this should work?
I tried this method above but it did not work.
Regards,
Mansi Gusain.
________________________________
From: Benedikt Nordhoff ***@***.***>
Sent: Wednesday, July 17, 2024 4:27 PM
To: danny-avila/LibreChat ***@***.***>
Cc: Mansi Gusain ***@***.***>; Comment ***@***.***>
Subject: [EXTERNAL] Re: [danny-avila/LibreChat] Need help to make tools work on Azure Assistants (Discussion #3255)
You may try the latest development version from main and include only the pluginKey as listed in the manifest. json. Or (with older versions) you include both the pluginKey as well as the (unqualified) file name as separate entities in the list.
You may try the latest development version from main and include only the pluginKey as listed in the manifest.json<https://github.com/danny-avila/LibreChat/blob/main/api/app/clients/tools/manifest.json>.
Or (with older versions) you include both the pluginKey as well as the (unqualified) file name as separate entities in the list.
—
Reply to this email directly, view it on GitHub<#3255 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BHRPDVV6Y3ZOATCRH5IN2NLZMZEZRAVCNFSM6AAAAABKKFMY4WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBXGIZTANY>.
You are receiving this because you commented.Message ID: ***@***.***>
Unless otherwise stated above:
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
|
Beta Was this translation helpful? Give feedback.
-
Okay so not possible with the stable tag?? Always has to be dev image or if new version is released then this will be sorted ?? Please let me know .
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Benedikt Nordhoff ***@***.***>
Sent: Wednesday, July 17, 2024 6:59:05 PM
To: danny-avila/LibreChat ***@***.***>
Cc: Mansi Gusain ***@***.***>; Comment ***@***.***>
Subject: [EXTERNAL] Re: [danny-avila/LibreChat] Need help to make tools work on Azure Assistants (Discussion #3255)
No, that should only work using the dev version https: //github. com/danny-avila/LibreChat/pkgs/container/librechat-dev — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented. Message
No, that should only work using the dev version https://github.com/danny-avila/LibreChat/pkgs/container/librechat-dev<https://github.com/danny-avila/LibreChat/pkgs/container/librechat-dev>
—
Reply to this email directly, view it on GitHub<#3255 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BHRPDVS3ETABJ7KESTFLEUTZMZWSDAVCNFSM6AAAAABKKFMY4WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBXGM3TQMQ>.
You are receiving this because you commented.Message ID: ***@***.***>
Unless otherwise stated above:
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
|
Beta Was this translation helpful? Give feedback.
-
Okay thanks I will try this
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Benedikt Nordhoff ***@***.***>
Sent: Wednesday, July 17, 2024 7:09:59 PM
To: danny-avila/LibreChat ***@***.***>
Cc: Mansi Gusain ***@***.***>; Comment ***@***.***>
Subject: [EXTERNAL] Re: [danny-avila/LibreChat] Need help to make tools work on Azure Assistants (Discussion #3255)
As mentioned with the older versions you can try including both the pluginKey as well as the (unqualified) file name as separate entities in the list. E. g. includedTools: ["google","GoogleSearch. js", .. . ] — Reply to this email directly,
As mentioned with the older versions you can try including both the pluginKey as well as the (unqualified) file name as separate entities in the list. E.g. includedTools: ["google","GoogleSearch.js", ... ]
—
Reply to this email directly, view it on GitHub<#3255 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BHRPDVTPXOMVXGNTC54D4YTZMZX27AVCNFSM6AAAAABKKFMY4WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBXGM4TAMI>.
You are receiving this because you commented.Message ID: ***@***.***>
Unless otherwise stated above:
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
|
Beta Was this translation helpful? Give feedback.
-
Thankyou so much for your help , it did work - the config is as- includedTools: ["traversaal_search","TraversaalSearch.js","google","GoogleSearch.js","wolfram","Wolfram.js","dalle","DALLE3.js","tavily_search_results_json","TavilySearchResults.js","calculator","stable-diffusion","StableDiffusion.js","azure-ai-search","AzureAISearch.js","image_prompt_enhancer","image_prompt_enhancer.json","web_search","web_search.json","dall-e","DALL-E.js","web-browser"] |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have setup tools and plugin on my LibreChat instances. I want them to work for both AzureOpenAI and AzureAssistants endpoints, but so far it only works for AzureOpenAI.
Here is my conf of my .env file :
Here is my conf of my librechat.yaml file :
I can see in the dropdown list the plugin :
And it works fine.
But when I select the azure assistant endpoint, and try to add tool, that's strange, I only see "Calculator" and nothing else....
I guess there is something wrong in my config files, but I cannot figure out what !
Beta Was this translation helpful? Give feedback.
All reactions