File tree Expand file tree Collapse file tree 3 files changed +24
-12
lines changed
nemo/NeMo-Safe-Synthesizer Expand file tree Collapse file tree 3 files changed +24
-12
lines changed Original file line number Diff line number Diff line change 3333 "cell_type" : " code" ,
3434 "execution_count" : null ,
3535 "id" : " a538526a" ,
36- "metadata" : {},
36+ "metadata" : {
37+ "tags" : [
38+ " parameters"
39+ ]
40+ },
3741 "outputs" : [],
3842 "source" : [
3943 " # Update as appropriate to your installation URLs\n " ,
5054 "source" : [
5155 " import pandas as pd\n " ,
5256 " from nemo_microservices import NeMoMicroservices\n " ,
53- " from nemo_microservices.beta.safe_synthesizer.builder import SafeSynthesizerBuilder \n " ,
57+ " from nemo_microservices.beta.safe_synthesizer.builder import SafeSynthesizerJobBuilder \n " ,
5458 " \n " ,
5559 " import logging\n " ,
5660 " \n " ,
159163 "source" : [
160164 " ## 🏗️ Create a Safe Synthesizer job\n " ,
161165 " \n " ,
162- " The `SafeSynthesizerBuilder ` provides a fluent interface to configure and submit jobs.\n " ,
166+ " The `SafeSynthesizerJobBuilder ` provides a fluent interface to configure and submit jobs.\n " ,
163167 " \n " ,
164168 " This job will:\n " ,
165169 " - Initialize the builder with the NeMo Microservices client.\n " ,
179183 "outputs" : [],
180184 "source" : [
181185 " job = (\n " ,
182- " SafeSynthesizerBuilder (client)\n " ,
186+ " SafeSynthesizerJobBuilder (client)\n " ,
183187 " .from_data_source(df)\n " ,
184188 " .with_datastore(datastore_config)\n " ,
185189 " .with_replace_pii()\n " ,
Original file line number Diff line number Diff line change 3232 "cell_type" : " code" ,
3333 "execution_count" : null ,
3434 "id" : " a0e23975" ,
35- "metadata" : {},
35+ "metadata" : {
36+ "tags" : [
37+ " parameters"
38+ ]
39+ },
3640 "outputs" : [],
3741 "source" : [
3842 " # Update as appropriate to your installation URLs\n " ,
4852 "outputs" : [],
4953 "source" : [
5054 " from nemo_microservices import NeMoMicroservices\n " ,
51- " from nemo_microservices.beta.safe_synthesizer.builder import SafeSynthesizerBuilder \n " ,
55+ " from nemo_microservices.beta.safe_synthesizer.builder import SafeSynthesizerJobBuilder \n " ,
5256 " \n " ,
5357 " import logging\n " ,
5458 " logging.basicConfig(level=logging.WARNING)\n " ,
134138 "source" : [
135139 " ## 🏗️ Create a Safe Synthesizer job\n " ,
136140 " \n " ,
137- " The `SafeSynthesizerBuilder ` provides a fluent interface to configure and submit jobs.\n " ,
141+ " The `SafeSynthesizerJobBuilder ` provides a fluent interface to configure and submit jobs.\n " ,
138142 " \n " ,
139143 " This job will:\n " ,
140144 " - Initialize the builder with the NeMo Microservices client.\n " ,
152156 "outputs" : [],
153157 "source" : [
154158 " job = (\n " ,
155- " SafeSynthesizerBuilder (client)\n " ,
159+ " SafeSynthesizerJobBuilder (client)\n " ,
156160 " .from_data_source(df)\n " ,
157161 " .with_datastore(datastore_config)\n " ,
158162 " .with_replace_pii()\n " ,
Original file line number Diff line number Diff line change 3333 "cell_type" : " code" ,
3434 "execution_count" : null ,
3535 "id" : " 8e0327d4" ,
36- "metadata" : {},
36+ "metadata" : {
37+ "tags" : [
38+ " parameters"
39+ ]
40+ },
3741 "outputs" : [],
3842 "source" : [
3943 " # Update as appropriate to your installation URLs\n " ,
5054 "source" : [
5155 " import pandas as pd\n " ,
5256 " from nemo_microservices import NeMoMicroservices\n " ,
53- " from nemo_microservices.beta.safe_synthesizer.builder import SafeSynthesizerBuilder \n " ,
57+ " from nemo_microservices.beta.safe_synthesizer.builder import SafeSynthesizerJobBuilder \n " ,
5458 " \n " ,
5559 " import logging\n " ,
5660 " logging.basicConfig(level=logging.WARNING)\n " ,
165169 "outputs" : [],
166170 "source" : [
167171 " job = (\n " ,
168- " SafeSynthesizerBuilder (client)\n " ,
172+ " SafeSynthesizerJobBuilder (client)\n " ,
169173 " .from_data_source(df)\n " ,
170174 " .with_datastore(datastore_config)\n " ,
171175 " .with_replace_pii()\n " ,
270274 ],
271275 "metadata" : {
272276 "kernelspec" : {
273- "display_name" : " kendrickb-notebooks " ,
277+ "display_name" : " GenerativeAIExamples " ,
274278 "language" : " python" ,
275279 "name" : " python3"
276280 },
You can’t perform that action at this time.
0 commit comments