The vector search endpoint (POST /v2/jobs/vsearch) provides a more powerful way to find jobs based on semantic similarity rather than exact keyword matching.
Balance precision and recall: Too many specific filters might exclude relevant jobs. Start broad and refine as needed.
Leverage vector search for harder queries: If traditional search isn’t finding what you need, try the vector search with natural language descriptions.
Use pagination wisely: Instead of increasing the limit, use pagination to load results incrementally for better performance.
const vectorSearch = async () => { const body = { query: "Senior Director of Supply Chain Management in Pharmaceuticals, small manufacturing company with long-term aspirations to service a global economy." }; const response = await fetch('https://api.hirebase.org/v2/jobs/vsearch', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-API-Key': 'YOUR_API_KEY', }, body: JSON.stringify(body) }); const data = await response.json(); return data;};
Specify the technical background of the job:
Copy
const vectorSearch = async () => { const body = { query: "5+ years of experience in quantitative analysis, preferably at large financial or technology firms. Expertise in machine learning frameworks such as PyTorch. Strong background in data analysis, statistical modeling, and programming Located in New York City or willing to relocate. Ability to lead projects and mentor junior team members." }; const response = await fetch('https://api.hirebase.org/v2/jobs/vsearch', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-API-Key': 'YOUR_API_KEY', }, body: JSON.stringify(body) }); const data = await response.json(); return data;};
Be as precise as you want: When prompting, you have unlimited precision power at your fingertips. You can have broad searches that match many different types of jobs such as ‘Medical Tech Sales’, or you can pinpoint a niche such as ‘L3 Product Manager used to working in fast-paced environments in small companies, looking to take the leap to a management role at a small consumer electronics company’.
Find the jobs your best qualified for: Use your background as a mechanism to get the best job recomendations and easily filter your qualifications, skills, and technical ability. Unlike text search which matches phrases, our DeepSearch model uses the idea of your technical ability to filter without the phrase necessarily being present in the job description. Because of this, for example searching with a skill such as _‘Market Research’ _will identify roles that require related expertise—such as data analysis, competitive intelligence, or customer insights—even when “Market Research” isn’t listed word-for-word in the job description.
User Context: Our model understands what your looking for on a deeper level. Providing your experience building with AWS, we understand that you are looking for Cloud Engineering jobs. If your a recent graduate, our model will understand your looking for entry level jobs. By providing the model a good context, you can leverage it’s iniate ability to match subtle characteristics of yourself and leverage these to get results which would otherwise be impossible with text-based search.
Parameters vs. Prompting: From our own internal testing of the model, prompting is the most powerful way to get the best results. While this API does support a limited number of parameters, the true power of our model is with prompting. When using our model, its highly recommended to try prompting first, and then utilize the parameters; we have yet to encounter a single situation where the input parameters function better than the prompt, however we decided to expose these for users who are most comfortable with this method.