Skip to content

Foundry memory not working from python code or when manually adding a memory in a store. #442

Description

@Psquare-0

Hi Team,
I developed a simple MAF agent with foundry memory but when i try to run that i am getting the below error :

Failed to create memory. Memory create failed with code ": ("code" "ResourceError"," message":"
{\u0022status_code\u0022:400,\u0022error_code\u0022: \u0022ResourceError\u0022,\u0022 details\u0022:{\u0022message\u0022: \u0022Provided Azure resource encountered an error.\u0022,\u0022deployment\u0022:\u00225a9591296fdc437eb7db2bc930c80ac0/deployments/text-embedding-3-small\u0022, \u0022details\u0022: \u0022type\u0022: \u0022Authentication\u0022,\u0022status_code\u0022:401, \u0022description\u0022:\u0022Authentication to the Azure OpenAl resource failed. Verify the API key or token. \u0022)])*] [Request ID: bb1d5965ff354fd8abe909c8497014d9]

NOTE 1 : I am getting the same error when i try to manually create a memory in a memory store.
NOTE 2 : When i directly add a memory store to a foundry agent in the foundry portal itself, then the memory store works fine and the memories are properly getting stored when i use the agent.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions