Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred while posting eval results #99

Open
DsDastgheib opened this issue Aug 8, 2024 · 0 comments
Open

An error occurred while posting eval results #99

DsDastgheib opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DsDastgheib
Copy link

Hi,
I was following these examples and testing groundedness for a single datapoint using the following code:

response = athina.evals.Groundedness(model="gpt-4o-mini").run(context=contexts, response=response, chat_history=chat_history)

The response seems ok, but there is a weird thing which is the following that appears in the console

An error occurred while posting eval results [
   {
     "code": "invalid_type",
     "expected": "string",
     "received": "undefined",
     "path": [
       0,
       "org_id"
     ],
     "message": "Required"
   },
   {
     "code": "invalid_type",
     "expected": "string",
     "received": "undefined",
     "path": [
       0,
       "workspace_slug"
     ],
     "message": "Required"
   }
 ] (Extra Info: No Details)
 An error occurred while posting eval results [
   {
     "code": "invalid_type",
     "expected": "string",
     "received": "undefined",
     "path": [
       0,
       "org_id"
     ],
     "message": "Required"
   },
   {
     "code": "invalid_type",
     "expected": "string",
     "received": "undefined",
     "path": [
       0,
       "workspace_slug"
     ],
     "message": "Required"
   }
 ] (Extra Info: No Details)
 An error occurred while posting eval results [
   {
     "code": "invalid_type",
     "expected": "string",
     "received": "undefined",
     "path": [
       0,
       "org_id"
     ],
     "message": "Required"
   },
   {
     "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      0,
      "workspace_slug"
    ],
    "message": "Required"
  }
] (Extra Info: No Details)
An error occurred while posting eval results [
    {
      "code": "invalid_type",
      "expected": "string",
      "received": "undefined",
      "path": [
        0,
        "org_id"
    ],
    "message": "Required"
  },
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      0,
      "workspace_slug"
    ],
    "message": "Required"
  }
] (Extra Info: No Details)

I wish to know if I'm doing something wrong?

@vivek-athina vivek-athina added the bug Something isn't working label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants