New experiment
labridge.callback.experiment_log.new_experiment
¶
labridge.callback.experiment_log.new_experiment.CreateNewExperimentLogOperation
¶
Bases: CallBackOperationBase
This operation will create a new experiment record for a specific user.
PARAMETER | DESCRIPTION |
---|---|
llm |
The used LLM.
TYPE:
|
embed_model |
The used embedding model.
TYPE:
|
verbose |
Whether to show the inner progress.
TYPE:
|
Source code in labridge\callback\experiment_log\new_experiment.py
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
|
labridge.callback.experiment_log.new_experiment.CreateNewExperimentLogOperation.do_operation(**kwargs)
¶
Execute the operation to add a new experiment record.
PARAMETER | DESCRIPTION |
---|---|
user_id |
The user id of a lab member.
TYPE:
|
experiment_name |
The name of the new experiment.
TYPE:
|
experiment_description |
The description of the new experiment.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
OperationOutputLog
|
The output and log of the operation.
TYPE:
|
Source code in labridge\callback\experiment_log\new_experiment.py
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
|
labridge.callback.experiment_log.new_experiment.CreateNewExperimentLogOperation.operation_description(**kwargs)
¶
Return the operation description, this description will be sent to the user for authorization.
PARAMETER | DESCRIPTION |
---|---|
user_id |
The user id of a lab member.
TYPE:
|
experiment_name |
The name of the new experiment.
TYPE:
|
experiment_description |
The description of the new experiment.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
str
|
The operation description.
TYPE:
|
Source code in labridge\callback\experiment_log\new_experiment.py
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
|