-
Notifications
You must be signed in to change notification settings - Fork 2
Home
[OpenAI Evals](https://github.com/openai/evals#openai-evals)
[OpenaAI cookbook](https://github.com/openai/openai-cookbook/tree/main/examples)
-
[GPTs Instructions](https://github.com/PxTools/lab_gpt/wiki/Instructions-%E2%80%90-GPTs)
-
[GPTs Description](https://github.com/PxTools/lab_gpt/wiki/GPTs-%E2%80%90-Description)
-
[GPTs Swagger.json](https://github.com/PxTools/lab_gpt/blob/main/OpenApi/swagger.json)
[Swagger validator](https://editor-next.swagger.io/)
[Swagger til Svenske](https://pxapi2-master-cnmm.scb.se/swagger/index.html)
Eksempel-kall til databasen - [søk etter tabell: etsende ](https://data.qa.ssb.no/pxapi2-beta/api/v2/tables?query=etsende) - [søk: finn alle tabeller ](https://data.qa.ssb.no/pxapi2-beta/api/v2/tables?pageSize=10000)
Oppskrift: Starting with the fish: https://data.qa.ssb.no/pxapi2-beta/api/v2/tables/03024
Look at the response from : https://data.qa.ssb.no/pxapi2-beta/api/v2/tables/03024/metadata?lang=no
For each object in the variable array:
Construck a string on the form: valueCodes[<id property>]=<code property of first item in the value array>,<same for the second item in the value array> and so on
For example: { "id": "VareGrupper2", "label": "varegruppe", "type": "RegularVariable", "elimination": false, "values": [ { "code": "01", "label": "Fersk oppalen laks" }, { "code": "02", "label": "Frosen oppalen laks" } ] }
Yields: valueCodes[VareGrupper2]=01,02
Decide on language and outputformat: lang=no&outputformat=json
Join these together:
VareGrupper2=01,02&valueCodes[ContentsCode]=Vekt,Kilopris&valueCodes[Tid]=2023U14,2023U15,2023U16,2023U17,2023U18,2023U19