Skip to content

403 Forbidden on some queries #14

@gaurav

Description

@gaurav

Here's a query that got a 403 Forbidden error for me:

{
  "prompt_name": "bagel/ask_classes",
  "context": {
    "text": "The Craving Scale 3 item\ncraving-scale-3-item\nThe Craving Scale is a 3-item measure of craving that has been previously validated in cocaine-dependent samples.\nPlease rate how strong your desire was to use in the past 24 hours. (name: Craving Scale desire to use) (definition: Scale describing how strong desire to use was in the past 24 hours, as a part of the Craving Scale, sources: McHugh RK, Trinh CD, Griffin ML, Weiss RD. Validation of the craving scale in a large sample of adults with substance use disorders. Addict Behav. 2021;113:106651. doi:10.1016/j.addbeh.2020.106651) (definition: Short description: Strengths of desire to use in the past 24 hours)\nPlease imagine yourself in the environment in which you previously used drugs or alcohol. If you were in this environment today, what is the likelihood you would use? (name: Craving Scale likelihood of use) (definition: Scale describing how likely participant is to use drugs or alcohol if in same environment as previous use, as a part of the Craving Scale, sources: McHugh RK, Trinh CD, Griffin ML, Weiss RD. Validation of the craving scale in a large sample of adults with substance use disorders. Addict Behav. 2021;113:106651. doi:10.1016/j.addbeh.2020.106651) (definition: Short description: Likelihood to use drugs or alcohol if in same environment as previous use)\nPlease rate how strong your urges are for drugs or alcohol when something in the environment reminds you of it. (name: Craving Scale urges) (definition: Scale describing how strong is the urge for drugs or alcohol when something in the environment reminds them of it, as a part of the Craving Scale, sources: McHugh RK, Trinh CD, Griffin ML, Weiss RD. Validation of the craving scale in a large sample of adults with substance use disorders. Addict Behav. 2021;113:106651. doi:10.1016/j.addbeh.2020.106651) (definition: Short description: Strengths of urge to use drugs or alcohol if reminded by something in the environment)\nCraving Scale score (name: Craving Scale score) (definition: Overall mean score, as part of the Craving Scale, sources: McHugh RK, Trinh CD, Griffin ML, Weiss RD. Validation of the craving scale in a large sample of adults with substance use disorders. Addict Behav. 2021;113:106651. doi:10.1016/j.addbeh.2020.106651) (definition: Short description: Craving Scale score)\n",
    "entity": "hours",
    "synonyms": [
      {
        "label": "FBXL3_MOUSE F-box/LRR-repeat protein 3 (sprot)",
        "identifier": "UniProtKB:Q8C4V4",
        "description": "An F-box/LRR-repeat protein 3 that is encoded in the genome of mouse.",
        "entity_type": "biolink:Gene",
        "taxa": "",
        "taxa_ids": [
          ""
        ],
        "synonym_type": ""
      },
      {
        "label": "Hours designated",
        "identifier": "UMLS:C2735414",
        "description": "",
        "entity_type": "biolink:PhenotypicFeature",
        "taxa": "",
        "taxa_ids": [
          ""
        ],
        "synonym_type": ""
      },
      {
        "label": "Fbxl3",
        "identifier": "NCBIGene:50789",
        "description": "An F-box/LRR-repeat protein 3 that is encoded in the genome of mouse.",
        "entity_type": "biolink:Gene",
        "taxa": "",
        "taxa_ids": [
          ""
        ],
        "synonym_type": ""
      },
      {
        "label": "Hour",
        "identifier": "UMLS:C0439227",
        "description": "",
        "entity_type": "biolink:InformationContentEntity",
        "taxa": "",
        "taxa_ids": [
          ""
        ],
        "synonym_type": ""
      },
      {
        "label": "Few hours",
        "identifier": "UMLS:C4036223",
        "description": "",
        "entity_type": "biolink:InformationContentEntity",
        "taxa": "",
        "taxa_ids": [
          ""
        ],
        "synonym_type": ""
      },
      {
        "label": "hour (continuous)",
        "identifier": "UMLS:C1550733",
        "description": "",
        "entity_type": "biolink:InformationContentEntity",
        "taxa": "",
        "taxa_ids": [
          ""
        ],
        "synonym_type": ""
      },
      {
        "label": "hour of the day",
        "identifier": "UMLS:C1610164",
        "description": "",
        "entity_type": "biolink:InformationContentEntity",
        "taxa": "",
        "taxa_ids": [
          ""
        ],
        "synonym_type": ""
      }
    ]
  },
  "config": {
    "llm_model_name": "google/gemma-3-12b-it",
    "organization": "",
    "access_key": "",
    "url": "http://vllm-server/v1",
    "llm_model_args": {
      "top_p": 0.1,
      "temperature": 0
    }
  }
}

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