Adding Container Apps as tool via OpenAPI 3.0 is not registered! #200
Replies: 2 comments
-
|
Hi @danielinjesus thanks for sharing the issue your facing - it looks like in the documentation there are a few schema steps that need to be added/edited for Foundry usage - can you confirm you were using these docs to create your schema and add to foundry: https://learn.microsoft.com/en-us/azure/ai-foundry/agents/how-to/tools/openapi-spec |
Beta Was this translation helpful? Give feedback.
-
|
Hello @amynic thanks for your input.
but TripAdvisor's is a bit different; it has cosoLocationApiLambdaAuthorizer instead of apiKeyHeader; is this okay?
The provided OpenAPI has 5 security sections. Where to include the above? Appreciate your answers! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I want my LangChain app to be registered as agent or tool in AI Foundry Agent Service.
I uploaded the app to Container Apps : https://contapp21--0gkrf2q.thankfulsky-db5b0c67.koreacentral.azurecontainerapps.io/
I inserted the auto-generated OpenAPI code from FastAPI and hit next button. It buffers some time and there is no job uploaded; it is still 0; why is it?
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Hello","operationId":"hello__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/components/{item}":{"get":{"summary":"Get Components","operationId":"get_components_components__item__get","parameters":[{"name":"item","in":"path","required":true,"schema":{"type":"string","title":"Item"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions