> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Model predictions by use case

> This is an all-purpose prediction endpoint you can use by specifying a `USE_CASE` and `MODEL_ID`.  

IMPORTANT: The available use cases are detailed in their own section in this specification.



## OpenAPI

````yaml /api-reference/saas/machine-learning-platform-predict.json post /ai/prediction/{USE_CASE}/{MODEL_ID}
openapi: 3.0.1
info:
  title: Lucidworks AI Prediction API
  version: v0
  description: >-
    The Lucidworks AI Prediction API is used to send synchronous API calls that
    run predictions from pre-trained models or custom models.


    The Use Case API returns a list of all supported models.


    The `prediction` endpoints require an authentication token with scope
    `machinelearning.predict`.
  contact:
    name: Lucidworks
    url: https://lucidworks.com/
    email: support@lucidworks.com
  termsOfService: https://lucidworks.com/legal/developer-license-agreement/
  license:
    name: Lucidworks
    url: https://lucidworks.com/legal/developer-license-agreement/
servers:
  - url: https://APPLICATION_ID.applications.lucidworks.com
    description: Production
security: []
tags:
  - name: Get predictions
    description: Submit prediction tasks to Lucidworks AI.
paths:
  /ai/prediction/{USE_CASE}/{MODEL_ID}:
    parameters:
      - schema:
          type: string
        name: USE_CASE
        in: path
        required: true
        description: >-
          The name of the use case for the model. Use the Use Case API to get
          the list of supported use cases.
      - schema:
          type: string
        name: MODEL_ID
        in: path
        required: true
        description: The unique identifier of the model.
        example: llama-3-8b-instruct
    post:
      tags:
        - Get predictions
      summary: Model predictions by use case
      description: >-
        This is an all-purpose prediction endpoint you can use by specifying a
        `USE_CASE` and `MODEL_ID`.  


        IMPORTANT: The available use cases are detailed in their own section in
        this specification.
      operationId: post-ai-prediction-usecase-modelId
      parameters:
        - name: USE_CASE
          in: path
          description: >-
            The name of the use case for the model. Use the Use Case API to get
            the list of supported use cases.
          required: true
          schema:
            type: string
          example: ner
        - schema:
            type: string
          name: MODEL_ID
          in: path
          required: true
          description: The unique identifier of the model.
          example: llama-3-8b-instruct
        - in: header
          name: Authorization
          schema:
            type: string
          required: true
          description: >-
            Bearer token used for authentication. Format: `Authorization: Bearer
            ACCESS_TOKEN`.
          example: Bearer abc123def456
        - schema:
            type: string
          in: header
          name: Content-Type
          description: application/json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BasicGenericRequest'
            examples:
              Classification request:
                value:
                  batch:
                    - text: Not all those who wander are lost.
                  useCaseConfig:
                    labels:
                      - Harry Potter
                      - Lord of the Rings
              Embedding request:
                value:
                  batch:
                    - text: city streets
                    - text: city gateways
                  useCaseConfig:
                    dataType: query
              Keyword extraction request:
                value:
                  batch:
                    - text: >-
                        Joseph Robinette Biden Jr.is an American politician who
                        is the 46th and current president of the United States.
                        Ideologically a moderate member of the Democratic Party,
                        he previously served as the 47th vice president from
                        2009 to 2017 under President Barack Obama and
                        represented Delaware in the United States Senate from
                        1973 to 2009.Born in Scranton, Pennsylvania, Biden moved
                        with his family to Delaware in 1953. He studied at the
                        University of Delaware before earning his law degree
                        from Syracuse University. He was elected to the New
                        Castle County Council in 1970 and to the U.S. Senate in
                        1972. As a senator, Biden drafted and led the effort to
                        pass the Violent Crime Control and Law Enforcement Act
                        and the Violence Against Women Act. He also oversaw six
                        U.S. Supreme Court confirmation hearings, including the
                        contentious hearings for Robert Bork and Clarence
                        Thomas. Biden ran unsuccessfully for the Democratic
                        presidential nomination in 1988 and 2008. In 2008, Obama
                        chose Biden as his running mate, and Biden was a close
                        counselor to Obama during his two terms as vice
                        president. In the 2020 presidential election, Biden and
                        his running mate, Kamala Harris, defeated incumbents
                        Donald Trump and Mike Pence. Biden is the second
                        Catholic president in U.S. history (after John F.
                        Kennedy), and his politics have been widely described as
                        profoundly influenced by Catholic social teaching.
                  useCaseConfig:
                    maxKeywords: 100
              NER request:
                value:
                  batch:
                    - text: >-
                        Mahatma Gandhi, born on October 2, 1869, in Porbandar,
                        India, led a life that profoundly shaped the course of
                        history. Inspired by his principles of non-violence,
                        truth, and civil disobedience, Gandhi became a pivotal
                        figure in India's struggle for independence from British
                        rule. His journey began as a lawyer in South Africa,
                        where he experienced racial discrimination and
                        injustice, sparking his commitment to social justice.
                        Returning to India, he became the face of the nonviolent
                        resistance movement, employing methods like peaceful
                        protests, fasting, and marches. The iconic Salt March of
                        1930 exemplified his philosophy as thousands followed
                        him in the defiance of salt taxes imposed by the
                        British. Gandhi's ascetic lifestyle, clad in simple
                        attire and practicing self-sufficiency, endeared him to
                        the masses. Despite facing imprisonment multiple times,
                        he remained steadfast in his pursuit of India's freedom.
                        Tragically, Gandhi was assassinated on January 30, 1948,
                        but his legacy endures globally as a symbol of peace,
                        tolerance, and the transformative power of nonviolent
                        resistance
                  useCaseConfig:
                    entityTypeMap:
                      Location:
                        - India
                        - South Africa
              Passthrough request:
                value:
                  batch:
                    - text: who was the first president of the USA?
                  useCaseConfig:
                    useSystemPrompt: true
              RAG request:
                value:
                  batch:
                    - text: Why did I go to Germany?
                      documents:
                        - body: I'm off to Germany to go to the Oktoberfest!
                          source: http://example.com/112
                          title: Off to Germany!
                          date: '2022-01-31T19:31:34Z'
              Standalone query rewriter request:
                value:
                  batch:
                    - text: Is it a framework?
                  useCaseConfig:
                    memoryUuid: 27a887fe-3d7c-4ef0-9597-e2dfc054c20e
              Summarization request:
                value:
                  batch:
                    - text: >-
                        Nearly ten years had passed since the Dursleys had woken
                        up to find their nephew on the front step, but Privet
                        Drive had hardly changed at all. The sun rose on the
                        same tidy front gardens and lit up the brass number four
                        on the Dursleys' front door; it crept into their living
                        room, which was almost exactly the same as it had been
                        on the night when Mr. Dursley had seen that fateful news
                        report about the owls. Only the photographs on the
                        mantelpiece really showed how much time had passed. Ten
                        years ago, there had been lots of pictures of what
                        looked like a large pink beach ball wearing
                        different-colored bonnets - but Dudley Dursley was no
                        longer a baby, and now the photographs showed a large
                        blond boy riding his first bicycle, on a carousel at the
                        fair, playing a computer game with his father, being
                        hugged and kissed by his mother. The room held no sign
                        at all that another boy lived in the house, too.
                  useCaseConfig:
                    maxWords: 100
        required: true
        description: >-
          Request information varies based on the use case in the request. See
          the specific use case for valid information for that use case.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicGenericResponse'
              examples:
                Classification prediction:
                  value:
                    predictions:
                      - tokensUsed:
                          inputTokens: 10
                          labelsTokens: 26
                        labels:
                          Lord of the Rings: 0.40380859375
                          Harry Potter: 0.3681640625
                        response: 'Lord of the Rings: 0.40, Harry Potter: 0.37'
                Embedding prediction:
                  value:
                    predictions:
                      - tokensUsed:
                          inputTokens: 8
                        vector:
                          - 0.04013075
                          - 0.043233868
                          - -0.01669725
                          - -0.007665884
                          - 0.0061647776
                          - -0.052107632
                          - -0.010926982
                          - -0.07025079
                          - 0.0020063876
                          - 0.034486987
                          - 0.0016456599
                          - 0.046662685
                          - 0.14632018
                          - 0.0050849672
                          - -0.017243993
                          - -0.064220384
                          - 0.03771499
                          - 0.005816351
                          - 0.047008365
                          - -0.007325138
                          - 0.015381722
                          - 0.0031372148
                          - 0.034961548
                          - -0.046348978
                          - 0.062426053
                          - 0.020503968
                          - 0.01433944
                          - 0.052655123
                          - -0.031588677
                          - 0.033758663
                          - 0.030947274
                          - -0.03408436
                          - 0.017048175
                          - 0.029308794
                          - 0.034018423
                          - 0.05136832
                          - -0.024285456
                          - -0.014714841
                          - 0.021774288
                          - 0.039163645
                          - 0.004775723
                          - 0.03164862
                          - 0.00693269
                          - -0.017228508
                          - 0.014342686
                          - -0.021327203
                          - 0.03903976
                          - 0.021322208
                          - -0.021044465
                          - -0.021775786
                          - 0.017606657
                          - -0.013990451
                          - 0.029622503
                          - 0.051911812
                          - -0.040072802
                          - -0.042192835
                          - 0.037720986
                          - 0.01740934
                          - -0.029272828
                          - 0.05686322
                          - -0.04509414
                          - 0.02113638
                          - -0.050700936
                          - 0.040502403
                          - 0.017289951
                          - -0.010077146
                          - 0.008970173
                          - -0.020270184
                          - -0.0573148
                          - -0.029998153
                          - 0.03670393
                          - -0.035427116
                          - 0.044324856
                          - -0.043046042
                          - -0.056511544
                          - 0.0029856036
                          - -0.042604454
                          - 0.0058648684
                          - 0.032302015
                          - -0.0041700043
                          - 0.027822174
                          - 0.010706187
                          - 0.027570408
                          - 0.041233726
                          - 0.019831592
                          - -0.026938993
                          - 0.0024956835
                          - -0.0048117833
                          - -0.0016077576
                          - 0.05694314
                          - 0.010400346
                          - -0.021625925
                          - -0.034277182
                          - 0.029761873
                          - 0.03312725
                          - 0.029077008
                          - 0.02799901
                          - 0.03246786
                          - 0.039593246
                          - -0.059364896
                          - -0.042460587
                          - -0.031308938
                          - -0.010447552
                          - -0.029994158
                          - -0.042636424
                          - -0.039481353
                          - 0.0069825184
                          - 0.0062279534
                          - 0.018629707
                          - 0.008466953
                          - -0.009593283
                          - 0.024253987
                          - 0.027301658
                          - -0.02235325
                          - 0.03189839
                          - -0.034717772
                          - -0.0019284599
                          - -0.033295095
                          - 0.042838234
                          - -0.063489065
                          - 0.01724649
                          - 0.02505237
                          - 0.015463146
                          - -0.013026283
                          - 0.006637214
                          - -0.037109554
                          - 0.023858853
                          - -0.032885473
                          - 0.023913803
                          - -0.045146093
                          - -0.017621642
                          - -0.057738405
                          - 0.019481916
                          - 0.04043047
                          - -0.036200397
                          - 0.072984256
                          - 0.04495427
                          - 0.05269109
                          - -0.018191114
                          - 0.0051037623
                          - 0.018789059
                          - -0.03298538
                          - 0.0072445255
                          - 0.014003002
                          - 0.03555899
                          - -0.060960412
                          - 0.022558061
                          - -0.010886082
                          - -0.0038244498
                          - 0.023418263
                          - 0.02156648
                          - -0.01617817
                          - 0.0017733227
                          - -0.09775726
                          - 0.059288964
                          - -0.010872657
                          - -0.018714128
                          - 0.0034624734
                          - -0.026785137
                          - -0.012361775
                          - 0.03086335
                          - 0.0033932251
                          - 0.01190445
                          - -0.01573989
                          - 0.034899604
                          - -0.03624236
                          - -0.028381655
                          - 0.0015473138
                          - -0.017843436
                          - -0.024319425
                          - -0.035155367
                          - -0.026763158
                          - -0.04802742
                          - 0.008347563
                          - 0.0077715362
                          - -0.043883264
                          - -0.032186124
                          - -0.041467506
                          - -0.005312553
                          - -0.059364896
                          - -0.059061177
                          - -0.017661605
                          - -0.030014139
                          - 0.041571412
                          - -0.00052070414
                          - 0.011310501
                          - -0.0026280605
                          - -0.032565773
                          - 0.0007742813
                          - -0.011730986
                          - 0.003794946
                          - 0.03218912
                          - 0.016879456
                          - 0.031830452
                          - 0.0054751677
                          - 0.020117326
                          - 0.01401549
                          - 0.01749476
                          - 0.0017865916
                          - -0.03259974
                          - 0.034919586
                          - -0.01861572
                          - 0.03601257
                          - 0.027912091
                          - -0.007364289
                          - -0.051116552
                          - -0.030965256
                          - 0.07321204
                          - 0.021386148
                          - 0.034959547
                          - -0.014237784
                          - 0.020116327
                          - 0.0017723548
                          - 0.026099773
                          - -0.043219883
                          - -0.04138958
                          - 0.03546308
                          - 0.03222009
                          - -0.033982456
                          - 0.037379302
                          - 0.029057028
                          - -0.057186916
                          - 0.022059523
                          - 0.0067659947
                          - -0.0500935
                          - -0.0032420843
                          - 0.028010998
                          - -0.0027290606
                          - 0.0055079656
                          - -0.023284387
                          - 0.029844297
                          - 0.025793558
                          - -0.01921916
                          - 0.039275542
                          - -0.03215615
                          - -0.0027242212
                          - 0.0364112
                          - 0.008741885
                          - -0.031207033
                          - -0.084077954
                          - -0.030565627
                          - 0.016251914
                          - 0.016867343
                          - -0.06266983
                          - 0.011260298
                          - -0.03179449
                          - -0.055128828
                          - 0.046708643
                          - -0.06670208
                          - 0.026133241
                          - 0.007983402
                          - -0.028895179
                          - 0.01711911
                          - -0.038562205
                          - 0.03173454
                          - -0.0019737303
                          - -0.0251027
                          - 0.029268332
                          - -0.023940777
                          - 0.026828097
                          - -0.007692672
                          - -0.031450804
                          - -0.01933905
                          - -0.02877529
                          - 0.028275752
                          - -0.014405129
                          - 0.13355602
                          - -0.0113115
                          - -0.0047480925
                          - -0.029642485
                          - -0.035664894
                          - -0.019497402
                          - -0.05396191
                          - 0.033424973
                          - -0.003321011
                          - -0.023798909
                          - -0.0802575
                          - 0.01370278
                          - -0.037816897
                          - -0.007416288
                          - -0.0038087144
                          - 0.07523017
                          - -0.03170857
                          - -0.029902244
                          - -0.03562693
                          - 0.037643056
                          - -0.07987785
                          - 0.014437099
                          - -0.07480256
                          - -0.036819197
                          - 0.06462801
                          - 0.024211027
                          - 0.0020439776
                          - 0.017008211
                          - 0.06679
                          - 0.0014072562
                          - 0.054697227
                          - -0.0086672045
                          - 0.021510532
                          - -0.018266544
                          - 0.023537152
                          - -0.019662747
                          - 0.037019636
                          - -0.06158683
                          - -0.037607092
                          - 0.066941865
                          - 0.060849518
                          - 0.04418099
                          - -0.05173198
                          - 0.02085614
                          - -0.032875482
                          - -0.007981653
                          - -0.013363595
                          - 0.051640064
                          - 0.024800979
                          - -0.07037867
                          - -0.002825955
                          - 0.08098083
                          - 0.013641837
                          - 0.0020414176
                          - -0.0012138733
                          - 0.021711847
                          - -0.013491226
                          - -0.07534606
                          - 0.009325843
                          - -0.021680376
                          - 0.014613435
                          - -0.002514697
                          - 0.041703288
                          - 0.0060127624
                          - -0.009941272
                          - -0.011815033
                          - -0.033873558
                          - 0.026316572
                          - -0.033087287
                          - -0.001065948
                          - -0.045809478
                          - -0.031043185
                          - 0.073387876
                          - 0.040218666
                          - -0.07090218
                          - 0.04634498
                          - 0.005370905
                          - -0.010663602
                          - 0.029882262
                          - -0.07428704
                          - 0.019819602
                          - 0.016055722
                          - -0.07352375
                          - 0.043147948
                          - 0.029025057
                          - -0.070762314
                          - 0.06806082
                          - -0.045046184
                          - -0.02637152
                          - 0.006561409
                          - 0.026748171
                          - 0.0023848019
                          - -0.019864561
                          - -0.038144592
                          - -0.042508543
                          - 0.016938277
                          - 0.0032479852
                          - -0.013221664
                          - 0.0019215288
                          - 0.028747315
                          - -0.026208673
                          - -0.028842228
                          - 0.0653993
                          - 0.014941756
                          - 0.062134326
                          - 0.048275188
                          - 0.013729256
                          - -0.014826737
                          - 0.05420968
                          - -0.055860147
                          - 0.060547795
                          - -0.09053196
                          - -0.02194363
                          - 0.08530482
                          - 0.061019357
                          - 0.008746256
                          - 0.0015694806
                          - 0.03450397
                          - -0.0095101725
                          - 0.026913019
                          - 0.027898604
                          - -0.019005857
                          - 0.033357035
                          - -0.008875324
                          - 0.015807327
                          - 0.0055214996
                          - -0.020944558
                          - -0.017137967
                          - 0.03618441
                          - -0.003914991
                          - -0.014851714
                          - -0.0029192902
                          - 0.01402698
                          - -0.013031747
                          - 0.027639344
                          - 0.010953083
                          - 0.054433472
                          - 0.015059021
                          - 0.018218089
                          - 0.034697793
                          - 0.011000914
                          - 0.009815514
                          - -0.025702141
                          - -0.024750026
                          - 0.064536095
                          - -0.02622266
                          - 0.06240607
                          - 0.0045631393
                          - -0.02850354
                          - -0.005061661
                          - -0.039475355
                          - 0.029358748
                          - 0.043171927
                          - 0.050636996
                          - -0.054357544
                          - 0.0008429051
                          - 0.0009654164
                          - 0.012589314
                          - 0.026097775
                          - -0.041969042
                          - -0.020185264
                          - -0.03659603
                          - 0.026703212
                          - -0.034376092
                          - 0.013911337
                          - 0.01099879
                          - -0.011204599
                          - -0.004571694
                          - 0.043907244
                          - -0.02547835
                          - 0.026897034
                          - 0.027044896
                          - -0.023694007
                          - 0.030865349
                          - -0.006787387
                          - -0.0064979685
                          - 0.040920015
                          - -0.027771221
                          - -0.041557424
                          - 0.0020998009
                          - -0.060268056
                          - 0.0077313078
                          - -0.03814659
                          - -0.03073547
                          - -0.0005553751
                          - 0.0004996612
                          - 0.0032732117
                          - -0.028165855
                          - 0.03712354
                          - -0.0076308856
                          - 0.014649902
                          - -0.044494696
                          - 0.00037227944
                          - -0.09373749
                          - -0.01216296
                          - 0.03377265
                          - -0.013035899
                          - -0.007315959
                          - -0.053558286
                          - -0.078411214
                          - 0.0020129753
                          - -0.0793903
                          - 0.02591382
                          - -0.034805693
                          - -0.049162365
                          - -0.016822135
                          - 0.03298538
                          - 0.013546426
                          - 0.021633418
                          - 0.018672168
                          - -0.035437606
                          - 0.022626497
                          - 0.04490232
                          - -0.0012890535
                          - -0.016368305
                          - -0.014651962
                          - -0.08028947
                          - -0.01232431
                          - 0.04609721
                          - 0.034448024
                          - -0.08384217
                          - 0.045545723
                          - 0.0071805846
                          - -0.012384379
                          - 0.00055036414
                          - 0.04550576
                          - 0.028617436
                          - -0.01232356
                          - 0.013374585
                          - 0.052435327
                          - -0.034382086
                          - -0.07539002
                          - -0.006544425
                          - 0.02847157
                          - -0.001886249
                          - -0.03161665
                          - -0.04108586
                          - 0.0063955323
                          - 0.018599235
                          - 0.0069554187
                          - -0.036246356
                          - 0.020720767
                          - 0.0069068386
                          - -0.0025855843
                          - 0.085312806
                          - -0.025334483
                          - -0.0024124638
                          - -0.0119188735
                          - 0.030317858
                          - 0.034715775
                          - 0.029212883
                          - 0.029426685
                          - 0.018804545
                          - 0.0024420768
                          - -0.025892965
                          - 0.036472145
                          - -0.049573984
                          - -0.04423094
                          - 0.045585684
                          - -0.005861559
                          - 0.009073827
                          - -0.0686203
                          - 0.003898881
                          - -0.017879404
                          - 0.04527797
                          - -0.027806189
                          - 0.020387076
                          - -0.114749484
                          - -0.035842728
                          - 0.045242004
                          - -0.006760662
                          - -0.0081411535
                          - 0.054581337
                          - 0.011735606
                          - 0.020758731
                          - -0.021565981
                          - 0.048538942
                          - -0.010452547
                          - 0.03926555
                          - -0.011903576
                          - 0.029796341
                          - 0.0070355316
                          - 0.0136033725
                          - -0.020410055
                          - 0.0038306941
                          - -0.0025366454
                          - -0.035437107
                          - 0.029230867
                          - -0.04357555
                          - -0.0027836661
                          - 0.03312925
                          - 0.02506873
                          - 0.047695726
                          - -0.003497324
                          - 0.014487802
                          - -0.041881125
                          - -0.028594457
                          - 0.03438808
                          - -0.0047136247
                          - -0.007369659
                          - 0.013781208
                          - -0.030341836
                          - -0.025632206
                          - 0.066969834
                          - -0.031524736
                          - 0.05443747
                          - 0.0087136775
                          - -0.055648346
                          - 0.023004645
                          - 0.049056463
                          - -0.009260154
                          - -0.018709132
                          - 0.041663326
                          - -0.07060646
                          - -0.027920084
                          - -0.033185195
                          - -0.018977385
                          - 0.025462365
                          - 0.0147051
                          - 0.036673956
                          - -0.00281036
                          - 0.020340119
                          - -0.23982538
                          - 0.013782207
                          - 0.011687401
                          - -0.039627217
                          - 0.028897176
                          - 0.02783616
                          - -0.032355964
                          - -0.0019639817
                          - 0.011507069
                          - 0.050217386
                          - 0.024424328
                          - -0.065850876
                          - 0.035710853
                          - -0.027111834
                          - 0.00018944914
                          - 0.0139430575
                          - -0.0013649205
                          - 0.030971251
                          - 0.00004964142
                          - 0.010538967
                          - -0.010475776
                          - 0.06313739
                          - -0.03729738
                          - -0.0155490665
                          - -0.02019825
                          - -0.033023346
                          - -0.058177996
                          - -0.00017499381
                          - 0.038616154
                          - 0.050217386
                          - -0.0013278924
                          - 0.022888754
                          - 0.011363452
                          - 0.053778082
                          - -0.02950661
                          - -0.0072766203
                          - -0.024155578
                          - 0.009355503
                          - -0.07278444
                          - 0.039001796
                          - -0.0056111664
                          - -0.046340983
                          - -0.04775767
                          - 0.041649338
                          - -0.023542147
                          - 0.04123972
                          - -0.003290633
                          - 0.010549738
                          - -0.028307723
                          - -0.004106688
                          - 0.014299726
                          - 0.03799873
                          - -0.09312156
                          - 0.028879194
                          - -0.020789701
                          - 0.042676385
                          - 0.035966612
                          - 0.0111896135
                          - -0.0112114055
                          - -0.03140185
                          - 0.04576552
                          - 0.019669741
                          - -0.060076233
                          - 0.020880617
                          - 0.017993297
                          - -0.008240226
                          - 0.032096207
                          - -0.01929309
                          - -0.028188834
                          - 0.00831653
                          - 0.0051113493
                          - -0.012009352
                          - -0.04883267
                          - 0.051596105
                          - 0.027252702
                          - -0.032454874
                          - 0.010812962
                          - 0.012241887
                          - -0.026701214
                          - 0.030181983
                          - 0.0074924203
                          - -0.028581468
                          - -0.033303086
                          - 0.019740677
                          - -0.0030426756
                          - -0.08290704
                          - 0.017375872
                          - 0.015043286
                          - 0.02206352
                          - 0.022638986
                          - -0.003625135
                          - -0.005135233
                          - 0.005199205
                          - 0.013359786
                          - 0.0328575
                          - -0.025664177
                          - -0.0010707561
                          - 0.04594535
                          - 0.02266596
                          - -0.020034403
                          - -0.023272397
                          - -0.029749386
                          - -0.023692008
                          - 0.044668537
                          - 0.015927216
                          - -0.008037539
                          - -0.06883211
                          - 0.0482632
                          - -0.0037685644
                          - -0.035397142
                          - -0.011487087
                          - 0.036943708
                          - 0.037377305
                          - -0.0009812142
                          - -0.030599596
                          - -0.044790424
                          - 0.0055120084
                          - -0.02417606
                          - -0.00061992457
                          - -0.046636708
                          - -0.020360101
                          - -0.035435107
                          - 0.009991725
                          - -0.0337227
                          - 0.038194545
                          - -0.00074805564
                          - -0.019748168
                          - 0.013361597
                          - 0.011938418
                          - 0.047356043
                          - -0.048870634
                          - -0.021329202
                          - 0.070514545
                          - -0.0070591974
                          - -0.0057196906
                          - 0.019388627
                          - -0.0064386483
                          - 0.0019277106
                          - 0.02192365
                          - 0.031574693
                          - 0.05679528
                          - -0.035156365
                          - 0.0055875634
                          - 0.019939242
                          - -0.029059026
                          - 0.051336348
                          - 0.017950587
                          - -0.046532806
                          - 0.02454122
                          - 0.021282244
                          - -0.063756816
                          - -0.08006568
                          - -0.028134884
                          - -0.015988158
                          - -0.038837947
                          - 0.04297211
                          - 0.025548285
                          - 0.028523523
                          - -0.057962198
                          - 0.041803196
                          - -0.02407765
                          - -0.049266268
                          - 0.04344767
                          - 0.0075581637
                          - 0.025979884
                          - -0.0034971912
                          - -0.03262172
                          - -0.026459439
                          - 0.005733959
                          - 0.03817856
                          - -0.041059885
                          - 0.008784096
                          - 0.027888114
                          - 0.04207694
                          - 0.015511601
                          - -0.03849227
                          - 0.055182777
                          - -0.046620723
                          - -0.045745537
                          - 0.0694835
                      - tokensUsed:
                          inputTokens: 8
                        vector:
                          - 0.031749506
                          - 0.062248953
                          - 0.0055429824
                          - 0.027315825
                          - -0.00040601744
                          - -0.042135086
                          - -0.016936297
                          - -0.08979866
                          - 0.027108155
                          - 0.004130238
                          - -0.026155489
                          - 0.042372998
                          - 0.1623223
                          - 0.013046744
                          - -0.020773677
                          - -0.07530603
                          - 0.02009572
                          - -0.015522921
                          - 0.043241993
                          - -0.011487698
                          - 0.030145094
                          - -0.017228648
                          - 0.02449916
                          - -0.043441597
                          - 0.058464497
                          - -0.008013615
                          - -0.012276924
                          - 0.07001545
                          - -0.020894147
                          - 0.024614083
                          - 0.037876815
                          - -0.02191335
                          - 0.009819523
                          - 0.02011286
                          - 0.02252124
                          - 0.05606317
                          - -0.024152368
                          - -0.030207094
                          - 0.013559244
                          - 0.045060627
                          - 0.00037643564
                          - 0.032894723
                          - 0.026705917
                          - -0.030570013
                          - 0.027731169
                          - -0.018508952
                          - 0.01327735
                          - 0.013543492
                          - -0.035913013
                          - -0.026990205
                          - -0.003465199
                          - 0.008093634
                          - 0.013691684
                          - 0.030830108
                          - -0.03572349
                          - -0.046199795
                          - 0.021560509
                          - 0.024262251
                          - -0.030322019
                          - 0.052546874
                          - -0.03466497
                          - 0.030104266
                          - -0.05388565
                          - 0.04075397
                          - -0.0005615189
                          - 0.0013352454
                          - 0.028416686
                          - -0.020041032
                          - -0.065317646
                          - -0.033967353
                          - 0.0248399
                          - -0.046274398
                          - 0.07339465
                          - -0.04641553
                          - -0.030466178
                          - -0.0110406
                          - -0.03231405
                          - 0.017234698
                          - 0.0047582295
                          - -0.003653527
                          - 0.018136958
                          - 0.027977148
                          - 0.029301807
                          - 0.05663578
                          - 0.03922567
                          - -0.016566522
                          - 0.009830203
                          - -0.017959656
                          - 0.03132005
                          - 0.050532665
                          - 0.008362296
                          - -0.013638254
                          - -0.043679513
                          - -0.0005664649
                          - 0.016989727
                          - 0.035741635
                          - 0.018978732
                          - 0.04321578
                          - 0.038288128
                          - -0.07137439
                          - -0.038090535
                          - -0.05660352
                          - -0.018537179
                          - -0.015721189
                          - -0.036868703
                          - -0.025968987
                          - 0.011326841
                          - -0.00045643884
                          - 0.05613979
                          - 0.009666251
                          - -0.010628534
                          - 0.026793623
                          - 0.025503995
                          - -0.021885121
                          - 0.013742846
                          - -0.022889202
                          - 0.015791079
                          - -0.047008302
                          - 0.038330466
                          - -0.05832941
                          - 0.0141917085
                          - 0.015098507
                          - 0.032559022
                          - -0.014672327
                          - 0.03098939
                          - -0.03324958
                          - 0.025576832
                          - -0.019176323
                          - 0.032975372
                          - -0.039094616
                          - -0.020864911
                          - -0.015266357
                          - 0.034352455
                          - 0.00957304
                          - -0.025022369
                          - 0.06647496
                          - 0.0338242
                          - 0.04104632
                          - -0.01465544
                          - -0.018986797
                          - 0.027129324
                          - -0.024607027
                          - 0.022070615
                          - -0.0020961186
                          - 0.03551783
                          - -0.055093367
                          - 0.020295328
                          - 0.008383718
                          - -0.0107889185
                          - 0.06161989
                          - 0.02576938
                          - -0.0102951005
                          - -0.0020520766
                          - -0.06700321
                          - 0.03716912
                          - -0.021623012
                          - -0.012555227
                          - 0.020787288
                          - -0.032428972
                          - -0.0043098084
                          - 0.036455378
                          - 0.0047701695
                          - 0.014622677
                          - -0.013412437
                          - 0.00045862046
                          - -0.016869761
                          - -0.0254861
                          - 0.0090190815
                          - -0.0055267266
                          - -0.04257059
                          - -0.005788962
                          - -0.013903893
                          - -0.08056031
                          - 0.022273246
                          - 0.010119437
                          - -0.050800823
                          - -0.04254438
                          - -0.00913188
                          - 0.038393978
                          - -0.031061973
                          - -0.054772787
                          - -0.011796433
                          - -0.024619125
                          - 0.03839902
                          - -0.018960586
                          - 0.005471942
                          - -0.024077768
                          - -0.021102827
                          - 0.009429321
                          - -0.032354373
                          - -0.012036364
                          - 0.026772453
                          - 0.060260955
                          - 0.04159675
                          - 0.008128729
                          - 0.00800095
                          - 0.010325218
                          - 0.0075248065
                          - 0.011524242
                          - -0.022081705
                          - 0.008553334
                          - -0.015976572
                          - 0.06797907
                          - 0.021158272
                          - -0.007819144
                          - -0.04855475
                          - -0.018051773
                          - 0.090589024
                          - 0.026348038
                          - 0.03155897
                          - -0.012915942
                          - 0.036461424
                          - -0.033727422
                          - 0.03166079
                          - -0.022848878
                          - -0.021991981
                          - 0.0076782918
                          - 0.032182995
                          - -0.02003221
                          - 0.02602141
                          - 0.012372065
                          - -0.044731982
                          - 0.030234313
                          - 0.010303417
                          - -0.030317986
                          - -0.015288788
                          - 0.03344717
                          - 0.00548552
                          - 0.009381498
                          - 0.005299901
                          - 0.019346694
                          - 0.012765733
                          - -0.026948873
                          - 0.045639284
                          - -0.025340933
                          - 0.007109716
                          - 0.0152000105
                          - 0.011163715
                          - -0.04135279
                          - -0.07752388
                          - -0.028154576
                          - 0.009203283
                          - -0.00762064
                          - -0.0628014
                          - -0.006914394
                          - -0.024558133
                          - -0.06958398
                          - 0.06261591
                          - -0.08535086
                          - -0.0028661278
                          - 0.0066696745
                          - -0.04362709
                          - 0.012594858
                          - -0.04362306
                          - 0.038459506
                          - 0.01323879
                          - -0.05051855
                          - 0.04352628
                          - -0.010882767
                          - 0.0015575343
                          - -0.032567084
                          - -0.03533234
                          - -0.030805912
                          - -0.03434842
                          - 0.034517784
                          - -0.019145072
                          - 0.096827224
                          - 0.021188516
                          - 0.00691389
                          - -0.022236953
                          - -0.053337235
                          - -0.013650415
                          - -0.059551243
                          - 0.05549863
                          - 0.018921271
                          - -0.025745185
                          - -0.072249435
                          - 0.021502038
                          - -0.020856343
                          - -0.02119759
                          - -0.01727603
                          - 0.06475311
                          - -0.032146703
                          - -0.029505447
                          - -0.0269771
                          - 0.02143147
                          - -0.08285478
                          - 0.015084896
                          - -0.073705144
                          - -0.015959434
                          - 0.0425222
                          - 0.01095113
                          - -0.00015118542
                          - 0.006309715
                          - 0.04679055
                          - 0.024356006
                          - 0.042146172
                          - 0.012396259
                          - -0.0042037047
                          - -0.036110602
                          - 0.002623015
                          - -0.04246776
                          - 0.050232247
                          - -0.064245015
                          - -0.015766885
                          - 0.04779463
                          - 0.0606642
                          - 0.021241568
                          - -0.09758532
                          - 0.046532474
                          - -0.0533332
                          - -0.021422397
                          - -0.0073929955
                          - 0.04211089
                          - 0.019481277
                          - -0.08211281
                          - 0.015596514
                          - 0.05822053
                          - 0.023662426
                          - 0.014921078
                          - -0.017987253
                          - -0.002912438
                          - -0.02203029
                          - -0.07895943
                          - 0.017368777
                          - -0.055867597
                          - 0.01152021
                          - 0.006782867
                          - 0.046211895
                          - 0.02020258
                          - -0.0028367036
                          - -0.009516837
                          - -0.043320626
                          - 0.055458304
                          - -0.028748859
                          - 0.04355854
                          - -0.04775632
                          - -0.050228216
                          - 0.08944783
                          - 0.03474562
                          - -0.035676356
                          - 0.0419133
                          - 0.0038242957
                          - -0.02255199
                          - -0.0051406827
                          - -0.05589381
                          - 0.012167229
                          - -0.008340559
                          - -0.06995497
                          - 0.033844363
                          - 0.013950517
                          - -0.067664534
                          - 0.050232247
                          - -0.029574
                          - -0.040558398
                          - 0.011314554
                          - 0.040332578
                          - 0.006173431
                          - -0.042881086
                          - -0.036596514
                          - -0.03518717
                          - 0.026188755
                          - 0.008222672
                          - -0.0045341766
                          - 0.016644951
                          - 0.036441263
                          - -0.03046517
                          - -0.018711582
                          - 0.042514134
                          - -0.013086565
                          - 0.09257702
                          - 0.057220485
                          - -0.009103763
                          - 0.0057495194
                          - 0.046082854
                          - -0.051216166
                          - 0.07401968
                          - -0.07064048
                          - -0.012470986
                          - 0.07916912
                          - 0.07214459
                          - 0.010623557
                          - 0.018972684
                          - 0.035767846
                          - -0.0032926225
                          - 0.018117048
                          - 0.01496323
                          - -0.02759608
                          - 0.00841875
                          - 0.00064976024
                          - 0.019324515
                          - 0.0051123924
                          - -0.026604097
                          - 0.011489462
                          - 0.023656376
                          - 0.021988327
                          - -0.008455799
                          - -0.023152824
                          - 0.009673
                          - -0.043534346
                          - 0.026082903
                          - 0.027358167
                          - 0.030866731
                          - 0.026233112
                          - 0.026775477
                          - 0.02891671
                          - -0.0059678704
                          - 0.049421724
                          - -0.024720943
                          - -0.017628366
                          - 0.046546586
                          - 0.00081405113
                          - 0.04795391
                          - -0.002526268
                          - -0.023682587
                          - -0.0059512053
                          - -0.049933847
                          - 0.027731169
                          - 0.008667754
                          - 0.05399049
                          - -0.07605203
                          - 0.004625726
                          - 0.0024381997
                          - 0.015883323
                          - 0.03016677
                          - -0.032523736
                          - -0.019106762
                          - -0.044945702
                          - 0.008293997
                          - -0.03191887
                          - 0.011763543
                          - 0.0090944385
                          - 0.016019922
                          - 0.0006819884
                          - 0.026660552
                          - 0.0018083025
                          - 0.010770678
                          - 0.0075447164
                          - -0.026406886
                          - 0.016491719
                          - 0.015165546
                          - -0.0108948015
                          - 0.01906354
                          - -0.029795783
                          - -0.025905475
                          - 0.018369455
                          - -0.07790293
                          - 0.016908573
                          - -0.029378425
                          - -0.039534155
                          - 0.0048141167
                          - 0.0012783501
                          - -0.0042041773
                          - -0.022357928
                          - 0.06781373
                          - -0.026459938
                          - 0.034269787
                          - -0.013487542
                          - 0.00029235272
                          - -0.12485679
                          - 0.020238558
                          - 0.04716557
                          - 0.011340261
                          - 0.040693484
                          - -0.051183905
                          - -0.057579372
                          - 0.012094834
                          - -0.021719161
                          - 0.017640967
                          - -0.011593802
                          - -0.02471792
                          - -0.012544705
                          - 0.0178688
                          - 0.00049158104
                          - 0.023921005
                          - 0.009334873
                          - -0.010463707
                          - 0.020391602
                          - 0.012028929
                          - -0.00893944
                          - 0.026738932
                          - -0.03035327
                          - -0.07658432
                          - -0.0025608586
                          - 0.021241946
                          - 0.015665065
                          - -0.07421727
                          - 0.03185435
                          - -0.0018766966
                          - -0.02248999
                          - -0.030301856
                          - 0.037465505
                          - 0.0422117
                          - -0.017801257
                          - -0.0076268776
                          - 0.045824777
                          - -0.02341947
                          - -0.05386347
                          - 0.0092073465
                          - 0.009655957
                          - 0.018093862
                          - -0.04267543
                          - -0.03825385
                          - -0.00044634196
                          - -0.00025883297
                          - 0.014137649
                          - -0.065128125
                          - 0.042820603
                          - 0.02548106
                          - -0.016419133
                          - 0.11450549
                          - -0.017143464
                          - -0.014409965
                          - -0.018304305
                          - 0.014270215
                          - 0.026787575
                          - 0.022943892
                          - 0.01763996
                          - 0.018652104
                          - -0.0041418946
                          - 0.0009541158
                          - 0.019793792
                          - -0.037370745
                          - -0.04096164
                          - 0.012813115
                          - -0.026698861
                          - 0.02281561
                          - -0.049885456
                          - 0.00347654
                          - -0.016102586
                          - 0.03282617
                          - -0.012945681
                          - 0.04121972
                          - -0.10710191
                          - -0.04459488
                          - 0.056200277
                          - -0.0033575199
                          - -0.010765133
                          - 0.043905333
                          - 0.0072846236
                          - 0.008133596
                          - -0.02646901
                          - 0.042764146
                          - -0.014913517
                          - 0.024591904
                          - -0.033103403
                          - 0.021504559
                          - 0.0034816437
                          - 0.02041731
                          - -0.018873889
                          - 0.024647351
                          - -0.008678654
                          - -0.017834524
                          - 0.017671084
                          - -0.034644302
                          - 0.0123879425
                          - 0.037118714
                          - 0.007902092
                          - 0.029142527
                          - -0.00586343
                          - 0.011969072
                          - -0.040445488
                          - -0.031255532
                          - 0.0059180004
                          - 0.013965828
                          - 0.015413494
                          - 0.013860543
                          - -0.020670345
                          - -0.022663385
                          - 0.059010893
                          - -0.052232344
                          - 0.038019966
                          - 0.011398732
                          - -0.06870894
                          - 0.00502664
                          - 0.0450324
                          - -0.0034090832
                          - -0.017447662
                          - 0.04639537
                          - -0.087738074
                          - -0.0009860919
                          - -0.051514566
                          - -0.022008112
                          - 0.0089966515
                          - 0.053482402
                          - 0.046078824
                          - 0.016324371
                          - 0.01709898
                          - -0.227894
                          - -0.007075125
                          - 0.004718913
                          - -0.02342451
                          - 0.03898574
                          - 0.02656579
                          - -0.024430607
                          - -0.020915821
                          - 0.03517104
                          - 0.040147085
                          - 0.025837932
                          - -0.081987806
                          - 0.017460514
                          - -0.029269548
                          - -0.024339877
                          - 0.023159629
                          - -0.009293288
                          - -0.00016596058
                          - -0.008006495
                          - 0.037066292
                          - 0.0053728633
                          - 0.05031491
                          - -0.040308386
                          - 0.0047134315
                          - -0.01123945
                          - -0.0015835405
                          - -0.038197394
                          - -0.0119032925
                          - 0.04512313
                          - 0.054240502
                          - 0.026313761
                          - 0.042695597
                          - 0.023479957
                          - 0.028362246
                          - -0.026863184
                          - -0.0124633
                          - 0.0048441715
                          - 0.010371465
                          - -0.088230036
                          - 0.027854158
                          - 0.0070582805
                          - -0.056115594
                          - -0.035067204
                          - 0.04671595
                          - -0.051361334
                          - 0.027300704
                          - 0.01806639
                          - 0.030457105
                          - -0.041842733
                          - -0.01461436
                          - 0.019955594
                          - 0.031826124
                          - -0.090802744
                          - 0.017608708
                          - -0.024454802
                          - 0.05861168
                          - 0.035340402
                          - 0.0089344
                          - 0.0015407745
                          - -0.038332485
                          - 0.03378791
                          - -0.009504488
                          - -0.05670433
                          - 0.019830588
                          - 0.0048097065
                          - 0.00012021746
                          - 0.032977387
                          - -0.03831434
                          - -0.028698957
                          - 0.00071368087
                          - 0.011765181
                          - -0.013733521
                          - -0.036637846
                          - 0.04123383
                          - 0.037298158
                          - -0.03496337
                          - 0.0044422178
                          - -0.0047535514
                          - -0.021171378
                          - 0.014578824
                          - -0.0048361695
                          - -0.061583597
                          - -0.02838241
                          - 0.0010249987
                          - -0.018039927
                          - -0.08464922
                          - 0.043909363
                          - 0.022951705
                          - 0.0367195
                          - 0.018486774
                          - -0.0018994422
                          - -0.0056120404
                          - 0.00078683207
                          - -0.00513728
                          - 0.02149095
                          - -0.016539099
                          - -0.006620088
                          - 0.06925332
                          - 0.01113237
                          - -0.018776102
                          - -0.045718927
                          - -0.0108340625
                          - -0.0394777
                          - 0.034753684
                          - 0.010512885
                          - -0.0091478685
                          - -0.07234218
                          - 0.04385089
                          - -0.008914301
                          - -0.028994333
                          - 0.0010134685
                          - 0.048373286
                          - 0.04839748
                          - -0.014330829
                          - -0.022507127
                          - -0.04326014
                          - 0.04252825
                          - -0.046006236
                          - 0.002500939
                          - -0.042643175
                          - -0.041879024
                          - -0.024752447
                          - 0.009131612
                          - -0.0270517
                          - 0.00799257
                          - -0.0172662
                          - -0.0177879
                          - 0.0240818
                          - 0.017433295
                          - 0.047018383
                          - -0.02941623
                          - -0.022224857
                          - 0.07443099
                          - 0.004688733
                          - 0.029738069
                          - 0.04360088
                          - 0.0021597557
                          - 0.00045692714
                          - 0.02595689
                          - 0.028660648
                          - 0.072406694
                          - -0.05765599
                          - -0.0027740744
                          - 0.0025033331
                          - -0.029743362
                          - 0.04480457
                          - -0.023020256
                          - -0.0432803
                          - 0.0073739677
                          - 0.009042772
                          - -0.030729296
                          - -0.08729854
                          - -0.027097065
                          - -0.016000766
                          - -0.006550717
                          - 0.042614948
                          - 0.014656953
                          - 0.025931686
                          - -0.03281609
                          - 0.040667273
                          - -0.04059872
                          - -0.042913347
                          - 0.01763895
                          - 0.026945848
                          - 0.04413518
                          - 0.017939368
                          - -0.023636214
                          - -0.021759108
                          - 0.0075999107
                          - 0.029852238
                          - -0.036376745
                          - 0.039613795
                          - 0.014724497
                          - 0.052058946
                          - 0.024113052
                          - -0.01695041
                          - 0.027120251
                          - -0.042800438
                          - -0.039227687
                          - 0.06134165
                Passthrough prediction:
                  summary: Passthrough prediction
                  value:
                    predictionId: 5e893b16-01f8-427c-9ca8-ba52b01b1ba3
                    status: READY
                    predictions:
                      - tokensUsed:
                          promptTokens: 51
                          completionTokens: 4
                          totalTokens: 55
                        response: 'CORRECT: misspelled'
                RAG prediction:
                  summary: RAG prediction
                  value:
                    predictionId: 266fd643-794b-4491-a0b2-cca6b2acbb7a
                    status: READY
                    predictions:
                      - tokensUsed:
                          promptTokens: 468
                          completionTokens: 20
                          totalTokens: 488
                        answer: You went to Germany to attend the Oktoberfest.
                        answerFound: true
                        sources:
                          - http://example.com/112
                        memoryUuid: d253039f-6a19-4a75-bfef-4f2347e71ccb
                        response: >-
                          SOURCES: 

                          - 0

                          ANSWER: "You went to Germany to attend the
                          Oktoberfest."
                Standalone query rewriter prediction:
                  summary: Standalone query rewriter prediction
                  value:
                    predictionId: 632781ce-0fbd-49c3-96bf-12e1cb90379d
                    status: READY
                    predictions:
                      - tokensUsed:
                          promptTokens: 92
                          completionTokens: 7
                          totalTokens: 99
                        query: Is it a framework?
                        response: Is Django a framework?
                Summarization prediction:
                  summary: Summarization prediction
                  value:
                    predictionId: cd9a118d-a573-4bf7-9f59-ad6934ef78ab
                    status: READY
                    predictions:
                      - tokensUsed:
                          promptTokens: 271
                          completionTokens: 81
                          totalTokens: 352
                        summary: >-
                          The Dursleys' home on Privet Drive remained unchanged
                          over the past ten years since Harry Potter's arrival.
                          The only indications of time passing were the updated
                          family photographs, which showed Dudley growing up but
                          no sign of Harry's existence. Despite Harry's presence
                          in their home, the Dursleys continued their neglect
                          and disdain towards him.
                        response: >-
                          The Dursleys' home on Privet Drive remained unchanged
                          over the past ten years since Harry Potter's arrival.
                          The only indications of time passing were the updated
                          family photographs, which showed Dudley growing up but
                          no sign of Harry's existence. Despite Harry's presence
                          in their home, the Dursleys continued their neglect
                          and disdain towards him.
                Keyword extraction prediction:
                  summary: Keyword extraction prediction
                  value:
                    predictionId: b90656aa-5c20-42cb-af02-358da99e34a1
                    status: READY
                    predictions:
                      - tokensUsed:
                          promptTokens: 432
                          completionTokens: 301
                          totalTokens: 733
                        keywords:
                          - Joseph Robinette Biden Jr.
                          - American politician
                          - 46th and current president
                          - United States
                          - Ideologically moderate
                          - Democratic Party
                          - Previously served as vice president
                          - Barack Obama
                          - Delaware
                          - University of Delaware
                          - Syracuse University
                          - New Castle County Council
                          - U.S. Senate
                          - Violent Crime Control and Law Enforcement Act
                          - Violence Against Women Act
                          - Supreme Court confirmation hearings
                          - Robert Bork
                          - Clarence Thomas
                          - Democratic presidential nomination
                          - '1988'
                          - '2008'
                          - Kamala Harris
                          - Donald Trump
                          - Mike Pence
                          - Catholic
                          - Catholic social teaching
                          - Scranton, Pennsylvania
                          - Born
                          - Family
                          - Moved
                          - Delaware
                          - Law degree
                          - Elected
                          - New Castle County Council
                          - U.S. Senate
                          - Drafted
                          - Led
                          - Passed
                          - Violent Crime Control and Law Enforcement Act
                          - Violence Against Women Act
                          - Oversaw
                          - Six U.S. Supreme Court confirmation hearings
                          - Close counselor
                          - Two terms
                          - Vice president
                          - 2020 presidential election
                          - Defeated
                          - Incumbents
                          - Second Catholic president
                          - John F. Kennedy
                          - Catholic social teaching
                          - Influenced
                          - Politics
                        response: |-
                          keywords:
                          - Joseph Robinette Biden Jr.
                          - American politician
                          - 46th and current president
                          - United States
                          - Ideologically moderate
                          - Democratic Party
                          - Previously served as vice president
                          - Barack Obama
                          - Delaware
                          - University of Delaware
                          - Syracuse University
                          - New Castle County Council
                          - U.S. Senate
                          - Violent Crime Control and Law Enforcement Act
                          - Violence Against Women Act
                          - Supreme Court confirmation hearings
                          - Robert Bork
                          - Clarence Thomas
                          - Democratic presidential nomination
                          - 1988
                          - 2008
                          - Kamala Harris
                          - Donald Trump
                          - Mike Pence
                          - Catholic
                          - Catholic social teaching
                          - Scranton, Pennsylvania
                          - Born
                          - Family
                          - Moved
                          - Delaware
                          - Law degree
                          - Elected
                          - New Castle County Council
                          - U.S. Senate
                          - Drafted
                          - Led
                          - Passed
                          - Violent Crime Control and Law Enforcement Act
                          - Violence Against Women Act
                          - Oversaw
                          - Six U.S. Supreme Court confirmation hearings
                          - Close counselor
                          - Two terms
                          - Vice president
                          - 2020 presidential election
                          - Defeated
                          - Incumbents
                          - Second Catholic president
                          - John F. Kennedy
                          - Catholic social teaching
                          - Influenced
                          - Politics
                NER prediction:
                  summary: NER prediction
                  value:
                    predictionId: 1e5845b3-b328-4f2f-af5f-2f11df24b457
                    status: READY
                    predictions:
                      - tokensUsed:
                          promptTokens: 408
                          completionTokens: 16
                          totalTokens: 424
                        entities:
                          Location:
                            - Porbandar
                            - India
                            - South Africa
                        response: |-
                          Location:
                          - Porbandar
                          - India
                          - South Africa
        '201':
          description: Created
components:
  schemas:
    BasicGenericRequest:
      title: BasicGenericRequest
      type: object
      description: ''
      x-examples: {}
      properties:
        batch:
          type: array
          description: >-
            The batch of key:value pairs used as inputs in the prediction. Up to
            32 inputs per request are allowed.
          maxItems: 32
          items:
            type: object
            properties:
              text:
                type: string
                description: The content the model analyzes.
                example: The content the model analyzes.
        modelConfig:
          $ref: '#/components/schemas/ModelConfig'
    BasicGenericResponse:
      type: object
      x-examples: {}
      description: >-
        IMPORTANT: This contains some of the information in a response to this
        use case. However, the response varies based on the use case and other
        information in the request. See the specific use case for valid
        information for that use case.
      properties:
        predictions:
          type: array
          items:
            $ref: '#/components/schemas/BasicGenericResponseTokens'
    ModelConfig:
      title: ModelConfig
      type: object
      description: >-
        Provides fields and values that specify ranges for tokens. Fields used
        for specific use cases and models are specified. The default values are
        used if other values are not specified.
      properties:
        temperature:
          type: number
          format: float
          example: 0.8
          minimum: 0
          maximum: 2
          description: >-
            A sampling temperature between 0 and 2. A higher sampling
            temperature such as 0.8, results in more random (creative) output. A
            lower value such as 0.2 results in more focused (conservative)
            output. A lower value does not guarantee the model returns the same
            response for the same input. We recommend staying at or below a
            temperature of 1.0. Values above 1.0 might return nonsense unless
            the topP value is lowered to be more deterministic.
        topP:
          type: number
          format: float
          example: 1
          minimum: 0
          maximum: 1
          description: >-
            A floating-point number between 0 and 1 that controls the cumulative
            probability of the top tokens to consider, known as the randomness
            of the LLM's response. This parameter is also referred to as top
            probability. Set `topP` to 1 to consider all tokens. A higher value
            specifies a higher probability threshold and selects tokens whose
            cumulative probability is greater than the threshold. The higher the
            value, the more diverse the output.
        topK:
          type: integer
          example: -1
          description: >-
            An integer that controls the number of top tokens to consider. Set
            topK to -1 to consider all tokens.
        presencePenalty:
          type: number
          format: float
          minimum: -2
          maximum: 2
          description: >-
            A floating-point number between -2.0 and 2.0 that penalizes new
            tokens based on whether they have already appeared in the text. This
            increases the model's use of diverse tokens. A value greater than
            zero (0) encourages the model to use new tokens. A value less than
            zero (0) encourages the model to repeat existing tokens. This is
            applicable for all OpenAI and Llama models.
          example: 2
        frequencyPenalty:
          type: number
          format: float
          minimum: -2
          maximum: 2
          example: 1
          description: >-
            A floating-point number between -2.0 and 2.0 that penalizes new
            tokens based on their frequency in the generated text. A value
            greater than zero (0) encourages the model to use new tokens. A
            value less than zero (0) encourages the model to repeat existing
            tokens. This is applicable for all OpenAI and Llama models.
        maxTokens:
          type: integer
          format: int32
          example: 1
          description: >-
            The maximum number of tokens to generate per output sequence. The
            value is different for each model. Review individual model
            specifications when the value exceeds 2048.
        apiKey:
          type: string
          description: >-
            This optional parameter is only required when using the model for
            prediction. You can find this value in your model's settings:


            * **OpenAI**: Copy and paste the API key found in your
            organization's settings. For more information, see <a
            href="https://platform.openai.com/docs/api-reference/authentication">OpenAI
            Authentication API keys</a>.


            * **Azure OpenAI**: Copy and paste the API key found in your Azure
            portal. See <a
            href="https://learn.microsoft.com/en-us/azure/api-management/api-management-authenticate-authorize-azure-openai#authenticate-with-api-key">Authenticate
            with API key</a>.


            * **Anthropic**: Copy and paste the API key found in your <a
            href="https://console.anthropic.com/settings/keys">Anthropic
            console</a> or by using the <a
            href="https://docs.anthropic.com/en/api/admin-api/apikeys/get-api-key">Anthropic
            API</a>.


            * **Google Vertex AI**: Copy and paste the base64-encoded service
            account key JSON found in your <a
            href="https://cloud.google.com/iam/docs/keys-list-get#list-keys">Google
            Cloud console</a>. This service account key must have the <a
            href="https://cloud.google.com/iam/docs/understanding-roles#aiplatform.user">Vertex
            AI user</a> role enabled. For more information, see <a
            href="https://cloud.google.com/iam/docs/keys-create-delete#creating">generate
            service account key</a>.
          example: API key specific to use case and model
        azureDeployment:
          type: string
          example: DEPLOYMENT_NAME
          description: >-
            This optional parameter is the name of the deployed Azure OpenAI
            model and is only required when a deployed Azure OpenAI model is
            used for prediction.
        azureEndpoint:
          type: string
          description: "\t\nThis optional parameter is the URL endpoint of the deployed Azure OpenAI model and is only required when a deployed Azure OpenAI model is used for prediction."
          example: https://azure.endpoint.com
        googleProjectId:
          type: string
          example: '[GOOGLE_PROJECT_ID]'
          description: >-
            This parameter is optional, and is only required when a Google
            Vertex AI model is used for prediction.  
        googleRegion:
          type: string
          description: >-
            This parameter is optional, and is only required when a Google
            Vertex AI model is used for prediction. A value of `global` routes
            the query to any available region. Other possible region values are:


            * us-central1

            * us-west4

            * northamerica-northeast1

            * us-east4

            * us-west1

            * asia-northeast3

            * asia-southeast1

            * asia-northeast
          example: '[GOOGLE_PROJECT_REGION_OF_MODEL_ACCESS]'
    BasicGenericResponseTokens:
      type: object
      properties:
        response:
          type: string
          description: The results returned from the request.
          example: >-
            The response varies based on the use case of the request. For valid
            information, see the individual use case documentation. 

````