Package: PsyLingLLM 0.4.0
PsyLingLLM: Controlled Psycholinguistic Experiments with Large Language Models
Runs controlled psycholinguistic, psychological, cognitive, and educational experiments with large language models. Registry-based configuration separates models, providers, and application programming interfaces so that compatible services can share experimental designs. Functions support randomized and factorial trials, multi-turn conversations, response and reasoning capture, timing and token measurements, and structured result export. For methodological context on using language models as experimental participants, see Dillion et al. (2023) <doi:10.1016/j.tics.2023.04.008>.
Authors:
PsyLingLLM_0.4.0.tar.gz
PsyLingLLM_0.4.0.zip(r-4.7-any)PsyLingLLM_0.4.0.zip(r-4.6-any)
PsyLingLLM_0.4.0.tar.gz(r-4.7-any)PsyLingLLM_0.4.0.tar.gz(r-4.6-any)
PsyLingLLM_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
PsyLingLLM/json (API)
| # Install 'PsyLingLLM' in R: |
| install.packages('PsyLingLLM', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/hanmingpsy/psylingllm-r/issues
Last updated from:2146ec7cb2. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 161 | ||
| source / vignettes | OK | 187 | ||
| linux-release | OK | 150 | ||
| windows-devel | OK | 270 | ||
| windows-release | OK | 215 | ||
| wasm-release | OK | 118 |
Exports:adaptive_feedback_experimentbuild_body_pass2_structuralbuild_registry_entry_from_analysisbuild_standardized_inputcat_slowlyclassify_generation_interfacecoerce_path_segmentscommon_error_blacklistcomplete_headers_for_pass2conversation_experimentconversation_experiment_with_feedbackdefault_keyword_lexicondefault_optional_keysdetect_embedded_think_tagensure_registry_headerexplain_aliasextract_pass2_templatesextract_process_metricsextract_token_probabilitiesextract_usage_fieldsfactorial_trial_experimentfind_placeholder_pathflat_key_to_regexflatten_json_pathsformat_registration_previewgenerate_llm_experiment_listgenerate_llm_factorial_experiment_listget_model_configget_registry_entryget_registry_pathget_trial_rawhas_nonempty_textinfer_role_mapping_from_bodyinfer_structure_from_placeholderinject_optional_paramsis_invalid_candidateis_message_objectjson_get_by_pathlist_get_by_pathllm_callerllm_registerload_registrymake_aliasmake_pass2_probe_inputsmerge_defaults_for_probemulti_model_experimentnormalize_history_messagesnormalize_path_keynormalize_path_key_with_regexnormalize_provider_labelnormalize_type_labelprobe_llm_streamingregister_endpoint_offlineregister_endpoint_to_user_registrysave_experiment_resultsscore_candidates_nsscore_candidates_ststream_reconstruct_textstrip_optionals_from_bodysub_placeholderstrial_experimentupdate_progress_barvalidate_experiment_configvalidate_registry_entryvalidate_registry_schema
Dependencies:bitbit64cellrangerclicliprcpp11crayoncurldplyrgenericsgluehmsjsonlitelifecyclemagrittropenxlsxpillarpkgconfigprettyunitsprogressR6Rcppreadrreadxlrematchrlangstringistringrtibbletidyselecttzdbutf8vctrsvroomwithrwritexlyamlzip
