@@ -54,6 +54,15 @@ export const WizaBlock: BlockConfig<WizaResponse> = {
5454 placeholder : '[{"v":"CEO","s":"i"},{"v":"Founder","s":"i"}]' ,
5555 condition : { field : 'operation' , value : 'prospect_search' } ,
5656 mode : 'advanced' ,
57+ wandConfig : {
58+ enabled : true ,
59+ prompt : `Generate a Wiza job_title filter: a JSON array of include/exclude objects.
60+ Each object is {"v": "<job title>", "s": "i" | "e"} where "i" includes and "e" excludes the title. Use double quotes around a phrase for an exact match.
61+ Example: [{"v":"CEO","s":"i"},{"v":"intern","s":"e"}]
62+ Return ONLY the JSON array - no explanations, no extra text.` ,
63+ placeholder : 'Describe the job titles to include/exclude...' ,
64+ generationType : 'json-object' ,
65+ } ,
5766 } ,
5867 {
5968 id : 'job_title_level' ,
@@ -102,6 +111,15 @@ export const WizaBlock: BlockConfig<WizaResponse> = {
102111 placeholder : '[{"v":{"country":"united states"},"b":"city","s":"i"}]' ,
103112 condition : { field : 'operation' , value : 'prospect_search' } ,
104113 mode : 'advanced' ,
114+ wandConfig : {
115+ enabled : true ,
116+ prompt : `Generate a Wiza person location filter: a JSON array of location objects.
117+ Each object is {"v": {"country": "...", "state": "...", "city": "..."}, "b": "country" | "state" | "city", "s": "i" | "e"} where "b" is the level to match, "s" includes ("i") or excludes ("e").
118+ Example: [{"v":{"country":"united states","state":"california"},"b":"state","s":"i"}]
119+ Return ONLY the JSON array - no explanations, no extra text.` ,
120+ placeholder : 'Describe the person locations to include/exclude...' ,
121+ generationType : 'json-object' ,
122+ } ,
105123 } ,
106124 {
107125 id : 'skill' ,
@@ -142,6 +160,15 @@ export const WizaBlock: BlockConfig<WizaResponse> = {
142160 placeholder : '[{"v":"wiza","s":"i"}]' ,
143161 condition : { field : 'operation' , value : 'prospect_search' } ,
144162 mode : 'advanced' ,
163+ wandConfig : {
164+ enabled : true ,
165+ prompt : `Generate a Wiza current-company filter: a JSON array of include/exclude objects.
166+ Each object is {"v": "<company name>", "s": "i" | "e"} where "i" includes and "e" excludes the company.
167+ Example: [{"v":"wiza","s":"i"},{"v":"acme","s":"e"}]
168+ Return ONLY the JSON array - no explanations, no extra text.` ,
169+ placeholder : 'Describe the current companies to include/exclude...' ,
170+ generationType : 'json-object' ,
171+ } ,
145172 } ,
146173 {
147174 id : 'past_company' ,
@@ -150,6 +177,15 @@ export const WizaBlock: BlockConfig<WizaResponse> = {
150177 placeholder : '[{"v":"google","s":"i"}]' ,
151178 condition : { field : 'operation' , value : 'prospect_search' } ,
152179 mode : 'advanced' ,
180+ wandConfig : {
181+ enabled : true ,
182+ prompt : `Generate a Wiza past-company filter: a JSON array of include/exclude objects.
183+ Each object is {"v": "<company name>", "s": "i" | "e"} where "i" includes and "e" excludes the company.
184+ Example: [{"v":"google","s":"i"}]
185+ Return ONLY the JSON array - no explanations, no extra text.` ,
186+ placeholder : 'Describe the past companies to include/exclude...' ,
187+ generationType : 'json-object' ,
188+ } ,
153189 } ,
154190 {
155191 id : 'company_location' ,
@@ -158,6 +194,15 @@ export const WizaBlock: BlockConfig<WizaResponse> = {
158194 placeholder : '[{"v":{"country":"canada"},"b":"country","s":"i"}]' ,
159195 condition : { field : 'operation' , value : 'prospect_search' } ,
160196 mode : 'advanced' ,
197+ wandConfig : {
198+ enabled : true ,
199+ prompt : `Generate a Wiza company HQ location filter: a JSON array of location objects.
200+ Each object is {"v": {"country": "...", "state": "...", "city": "..."}, "b": "country" | "state" | "city", "s": "i" | "e"} where "b" is the level to match, "s" includes ("i") or excludes ("e").
201+ Example: [{"v":{"country":"canada","state":"ontario"},"b":"state","s":"i"}]
202+ Return ONLY the JSON array - no explanations, no extra text.` ,
203+ placeholder : 'Describe the company HQ locations to include/exclude...' ,
204+ generationType : 'json-object' ,
205+ } ,
161206 } ,
162207 {
163208 id : 'company_industry' ,
@@ -166,6 +211,15 @@ export const WizaBlock: BlockConfig<WizaResponse> = {
166211 placeholder : '[{"v":"computer software","s":"i"}]' ,
167212 condition : { field : 'operation' , value : 'prospect_search' } ,
168213 mode : 'advanced' ,
214+ wandConfig : {
215+ enabled : true ,
216+ prompt : `Generate a Wiza company industry filter: a JSON array of include/exclude objects.
217+ Each object is {"v": "<industry>", "s": "i" | "e"} where "i" includes and "e" excludes the industry.
218+ Example: [{"v":"computer software","s":"i"},{"v":"retail","s":"e"}]
219+ Return ONLY the JSON array - no explanations, no extra text.` ,
220+ placeholder : 'Describe the company industries to include/exclude...' ,
221+ generationType : 'json-object' ,
222+ } ,
169223 } ,
170224 {
171225 id : 'company_size' ,
@@ -190,6 +244,15 @@ export const WizaBlock: BlockConfig<WizaResponse> = {
190244 placeholder : '{"job_title":[{"v":"CEO","s":"i"}], "company_size":["11-50"]}' ,
191245 condition : { field : 'operation' , value : 'prospect_search' } ,
192246 mode : 'advanced' ,
247+ wandConfig : {
248+ enabled : true ,
249+ prompt : `Generate a Wiza prospect-search filters object as JSON.
250+ Available keys: first_name, last_name (string arrays); job_title, job_company, past_company, company_industry (arrays of {"v":"...","s":"i"|"e"}); location, company_location (arrays of {"v":{country,state,city},"b":"country"|"state"|"city","s":"i"|"e"}); job_title_level, job_role, job_sub_role, skill, school, major, linkedin_slug, company_size, company_type (string arrays).
251+ Example: {"job_title":[{"v":"CEO","s":"i"}],"company_size":["11-50","51-200"],"company_location":[{"v":{"country":"united states"},"b":"country","s":"i"}]}
252+ Return ONLY the JSON object - no explanations, no extra text.` ,
253+ placeholder : 'Describe the prospects to search for...' ,
254+ generationType : 'json-object' ,
255+ } ,
193256 } ,
194257
195258 // Company Enrichment
0 commit comments