By combining Exa’s search capabilities with OpenAI’s language models, you can build a system that retrieves relevant, up-to-date information and generates insightful summaries. Here is the workflow:

1. Retrieval (Exa): Searches the web to find relevant and up-to-date results based on your query.

2. Processing: Combines the retrieved Exa search results with your LLM query.

3. Generation (OpenAI): Uses OpenAI’s LLM to generate an informed response using both your query and Exa’s search results.


Get Started

First, create an account and grab a free API key.

Get your Exa API key

Next, choose to use our Python or TypeScript SDK to set up your RAG system.

1

Install the python SDK

Shell
pip install exa_py
2

Set up the environment variable

Create an .env file in the root of your project and set the EXA_API_KEY environment variable to your API key.

Shell
EXA_API_KEY=insert your Exa API key here, without quotes
3

Instantiate the client

Python
from exa_py import Exa
import os
exa = Exa(os.getenv('EXA_API_KEY'))
4

Make a search using the search_and_contents method

The search_and_contents method returns a list of search results with the contents and/or highlights of the webpages.

You can find a more detailed explanation of the methods here.

Python
result = exa.search_and_contents(
  "hottest AI startups",
  type="neural",
  use_autoprompt=True,
  num_results=10,
  text=True
)

print(result)
5

Output

Shell
Title: Paradox: The AI assistant for recruiting, Olivia
URL: https://www.paradox.ai/
ID: https://www.paradox.ai/
Score: 0.17563548684120178
Published Date: 2023-01-01
Author: None
Text: Say hello to the world's fastest, simplest hiring experience. See Olivia in action Say hello to your team's next best hire. Olivia is the simple, conversational recruiting solution that does work for you. She automates, answers, screens, schedules, and onboards ... to help you hire faster. What can Olivia do? See Olivia in action She’s your next best hire. Olivia is the simple, conversational recruiting solution that does work for you. She automates, answers, screens, schedules and onboards ... to help you hire faster. See Olivia in action. See Olivia in action She’s your next best hire. Olivia is the simple, conversational recruiting solution that does work for you. She automates, answers, screens, schedules and onboards ... to help you hire faster. See Olivia in action. See Olivia in action She’s your next best hire. Olivia is the simple, conversational recruiting solution that does work for you. She automates, answers, screens, schedules and onboards ... to help you hire faster. See Olivia in action. If you hire people, you deserve an assistant. Meet Olivia, the simple, conversational recruiting solution that does work for you. She automates, answers, screens, schedules and onboards ... to help you hire faster. We measure success in client hugs. From high-volume hourly roles to highly technical engineering openings to hard-to-find healthcare professionals — Olivia's assisting companies in every industry, all over the world. The epiphany came after we turned Paradox on. It was so much better than we ever thought it would be. Josh SwemmTA ManagerMeritage Hospitality Group Adam ChenChief Marketing OfficerAmerican Pool Paradox removes time stealers from our HR and Ops teams. It's our best recruiting investment of the last 2 years. Rachel O'ConnellVP of TalentGreat Wolf Lodge Rebecca VolpanoDirector of Client SuccessCielo Our ability to engage candidates in 47 countries and 18 languages 24/7 has been critical to achieving our hiring goals. Gui NevesTA Sourcing & Solutions LeadNestle Speed and experience are critical. Paradox checks both boxes — providing a fast, frictionless hiring experience that works. Michael FerrantiChief People OfficerRegis Corporation Derek BraunRecruiting ManagerGoWireless Paradox exceeded my expectations wildly in all ways — always tailoring solutions to meet our use cases. Christina CoyleSVP of Talent AcquisitionAdvantage Solutions I've partnered with Paradox at two companies and they always deliver above and beyond my expectations. Jacob KramerSVP of Talent AcquisitionU.S. Xpress Olivia's helping us streamline candidates that we would have lost if we didn't have this technology in place. Leah ButtersRecruitment Strategy ConsultantMultiCare Health System Paradox was completely transformational, almost instantly. Our team was saving an enormous amount of time. Jay Chan SVP of Talent AcquisitionUnited Overseas Bank We're proud to partner with Paradox to drive innovation around the experiences we create for candidates and our team. Tom DaewaleHead of Employee ExperienceUnilever Recruiting teams and hiring managers spend 80% of their time on manual tasks. Olivia can do that work for them. Request a demo Meet the world's easiest job search. Candidates shouldn’t have to dig to find a relevant job. Olivia can instantly match jobs to each person’s location, resume, or keywords they use in a conversation — making it easy to find the perfect fit. More on experience assistant î ƒ And text-to-apply experiences that are even easier. Nothing increases drop-off more than logins, passwords, and clunky applications. Olivia shortens time-to-apply to minutes, with a quick, lightweight text-to-apply experience. More on text to apply î ƒ Unlock your candidate's true personality and unique skills. The Big 5 assessment measures a person’s Openness, Conscientiousness, Extraversion, Agreeableness, and Neuroticism. Normally taking nearly 10 minutes, our visual-based assessment takes less than 2 minutes. More on assessments î ƒ Schedule any type of interview in seconds, 24 hours a day. From scheduling to rescheduling to reminders, Olivia ensures you never have to worry about endless back and forth, double booking, or interview no-shows again. More on scheduling î ƒ And answer questions instantly — in 100+ languages. From FAQs about 401k match or benefits, to what to wear to an interview or where to park, Olivia can answer thousands of questions, 24/7, in whatever language the candidate prefers. Make offers and onboarding a breeze. When you’re ready to offer, Olivia can share the good news. She can also automate sending and reminding new hires to complete onboarding steps — like completing I-9, tax, or WOTC paperwork. More on onboarding î ƒ Don't want to replace your current systems? No worries. Olivia makes them better. Olivia's saving recruiters and managers millions of hours every year. From dramatic reductions in time-to-hire to nearly perfect feedback from candidates, Olivia's changing the expectation for what hiring software can do for companies all over the world. decrease in job advertising Increase in hard-to-fill roles candidate satisfaction rating Change is hard. We get it. But our job is to make your job easier. A+ Implementation Change doesn’t have to be hard. Our team of pros makes it even easier. Countless Integrations From Workday to SAP to Indeed, Olivia can work alongside the world's best. See integrations î ƒ Global & Secure SOC-2, Type 2 and GDPR certified. 30+ languages. Built for local, built for global. Learn more î ƒ “For hiring managers, it's giving them all that administrative time back and alleviating frustrations that come with scheduling.” Alexa Morse, Director of HR Operations Read Full Report î ƒ 60 reduction in time to hire 95 positive candidate experience
Highlights: None
Highlight Scores: None


Title: Harvey | Generative AI for Elite Law Firms
URL: https://www.harvey.ai/
ID: https://www.harvey.ai/
Score: 0.17165924608707428
Published Date: None
Author: None
Text: Contact Sales. Unprecedented. legal AI. Join the Waitlist. * Careers. * Privacy Policy
Highlights: None
Highlight Scores: None


Title: Adept: Useful General Intelligence
URL: https://www.adept.ai/
ID: https://www.adept.ai/
Score: 0.17111459374427795
Published Date: 2000-01-01
Author: None
Text: A new way to use computers. We’re building a machine learning model that can interact with everything on your computer. Join the waitlist. Our vision: An AI teammate for everyone. Adept is building an entirely new way to get things done. It takes your goals, in plain language, and turns them into actions on the software you use every day. Collaborate and create. Your hands on the wheel. We believe that AI systems should be built with users at the center — where machines work together with people in the driver's seat: discovering new solutions, enabling more informed decisions, and giving us more time for the work we love. What they’re saying… We are hiring
Highlights: None
Highlight Scores: None


Title: We Build Computers That Think
URL: https://brain.ai/#/
ID: https://brain.ai/#/
Score: 0.17037421464920044
Published Date: 2021-07-28
Author: None
Text: Introducing Natural We've had our smartphones for the last 14 years. On July 28, 2021, Brain is reimagining the way we interact with our phones. Introducing Natural - the first generative interface that allows software to be in sync with your intention. You no longer go to apps, apps come to you. Simply say what you need and the right app forms itself around your words. WHO ARE WE? At Brain.ai, we build computers that think. We invent new technologies and design metaphors that allow computers to become an extension of our minds instead of simply our hands. As we transition from the information age to the intelligence age, we bridge the existing world of software with emerging general intelligence in a natural and humane way. As pioneers of the few-shot learning approach to NLP in 2016, we stand at the intersection of advancing the latest technology and design. Our investors include Laurene Powell Jobs, Goodwater Capital, Scott Cook and WTT Investment. Natural AI Natural AI, our first consumer product, is the world's first generative interface. You no longer go to Apps, Apps come to you. Simply say what you need and the right app forms itself around your words - now fulfilling millions of requests each month. Natural clears away the clutter on your screen. It allows you to focus on what you want, not how to get there. If you are extremely curious, and won't settle for a tech company that makes incremental improvements. You want your work to be remembered, to add up to something big. You want to do work that keeps you up at night from excitement. You want your life to be filled with 'insane moments of realization.' San Mateo,CA Full-time Responsibilities: We are looking for a UX Designer to join us in inventing the metaphors and patterns that make up this experience. The UX Designer thinks laterally and finds clarity through making. They are excited about metaphors, and jump at the chance to play with new tools and technologies. They move between engineering and design with fluidity, and values vision over pure craftsmanship. They are flexible about ideas, and uncompromising about doing the right thing. Qualifications and Skills: 5+ years of progressive experience in product design, web design, UI/UX design and/or art direction with a focus on web, mobile and/or enterprise products. Strong portfolio of wireframes, user interface mockups, and prototypes for real products - on the market. Experience working with stakeholders in developing value proposition canvas, customer journey mapping, and identifying KPI/OKRs. Deep knowledge of design tools - Figma, Sketch and any other tools needed. Able to design autonomously, meet milestones and comfort working in agile, fast-paced surroundings. Excited about next-generation interfaces. Strong, demonstrated visual design aptitude – a great sense for color, form, typography and other design elements is shown in your work. Meticulous attention to detail, detail-oriented, organized and strong project management skills. Comfort with ambiguity in early production definition stages. Mindset for creating clean, “less is more” user interface designs. Apply San Mateo,CA Full-time Responsibilities: In this role, you’ll be sitting at the intersection of UX, NLP and engineering, designing improvements to our natural language engine, the core technology behind the intelligence of our product. You’ll get to solve difficult problems like semantic understanding, entity recognition, dialogue state tracking, knowledge base induction, personalization and active learning. On this path to product launch, you’ll have a hand in shaping a highly personal and intent-driven user experience — bringing the
Highlights: None
Highlight Scores: None


Title: Home | Tenyx, Inc.
URL: https://www.tenyx.com/
ID: https://www.tenyx.com/
Score: 0.169786736369133
Published Date: 2019-09-10
Author: None
Text: TENYX IS DEVELOPING THE NEXT-GENERATION OF INTELLIGENT MACHINES BASED ON PROPRIETARY NEUROSCIENCE-INSPIRED AI TECHNOLOGY Tenyx in the News Robust voice-based conversational agents We are tackling some of the core challenges facing existing AI solutions, including the ability to learn continually from new information in real-time and the need to dramatically reduce model training times. Using proprietary neuroscience-inspired AI technology, our team is building the next generation of voice-based conversational agents: intelligent, interactive, and with the common-sense reasoning lacking today. Addressing some of the key challenges of current AI technology We're Hiring ...​ We are a team of researchers and engineers led by an experienced leadership team with a track record of building successful AI companies from the ground up. We are looking for talented individuals with strong analytical capabilities, machine learning experience and solid coding skills, who are passionate about delivering the next-generation of AI technology and building highly impactful products. If that's you please email us at: [email protected].


Title: DirectAI
URL: https://directai.io/?utm_source=twitter&utm_medium=raw_message&utm_campaign=first_launch
ID: https://directai.io/?utm_source=twitter&utm_medium=raw_message&utm_campaign=first_launch
Score: 0.16954544186592102
Published Date: 2023-01-01
Author: None
Text: Vision models . Build and deploy powerful computer vision models with plain language.No code or training required. different. We use large language models and zero-shot learning to instantly build models that fit your description. We're the last major barrier to creating custom models - . Deploy and iterate in seconds with Venture-backed.Based in NYC. We're changing how people use AI in the real world. Come talk to us on .
Highlights: None
Highlight Scores: None


Title: Ghost AI | Scale Sales Outreach | Grow B2B Revenue
URL: https://www.useghost.ai/
ID: https://www.useghost.ai/
Score: 0.1689704805612564
Published Date: 2000-01-01
Author: None
Text: Trusted, purpose built AI for B2B revenue growth Scale your B2B prospecting, outreach, and conversion using trusted, performant outreach developed by top AI researchers from OpenAI. Technology trusted by over 1000+ companies Transform your sales funnel with AI-driven two-way communication Elevate your outreach with AI that understands your business and engages prospects with the right context and timing, improving over time with advanced machine learning that takes the guesswork out of sales. Convert prospects into partners with data-driven AI engagement. Drive conversions through AI that not only reaches out but resonates, building trust and interest. Scale on brand, personalized outreach that creates rapport. Contact interested buyers where they are, when they are. Imagine leveraging over 80+ million buying intent signals to deliver your messaging at the right moment for the right customer. Ghost delivers automatic targeting that generates motivated top-of-funnel conversions at any scale, effortlessly. Top of funnel at 10x the conversion of traditional ads. Our outreach campaigns achieve an average of 83% open rates and a minimum of 11% positive reply rates on first impression. Grow revenue at 5x the scale of traditional outreach. Discover qualified leads with AI that goes beyond the surface Target the right prospects with AI that identifies and nurtures potential leads into valuable conversations. Build relationships first not sales. Connect with prospects wherever they are. Our AI seamlessly connects with your existing tools, providing a cohesive experience through email, chat, and SMS. Uncover actionable channel-specific data Track all metrics with custom reports. Maximize impact by analyzing campaign results and content performance easily. Plan your entire sales strategy Track all metrics with custom reports. Maximize impact by analyzing campaign results and content performance easily. "I've never in my 15 years of marketing seen an approach like this" - Dave Miz Ghost AI is a team of sales scientists that apply a white-glove approach to scaling revenue at any company. From messaging, targeting, and warm conversion, every component of top-of-funnel lead generation and prospecting is catered exactly towards company goals. Zendesk achieved 12x ROI in the first month ! Ghost AI, the cutting-edge solution in sales email automation, has revolutionized Zendesk's outbound sales strategy. In just the first month of integration, Zendesk witnessed an astonishing 10x return on investment, a testament to Ghost AI's exceptional capability in streamlining sales processes. Find out more Empowering your sales team with AI that understands your business goals Lead generation at its finest Our AI doesn't just find leads; it engages them in meaningful dialogue, ensuring a rich pipeline of interested prospects. Supercharge your SDRs with AI efficiency Equip your SDRs with AI that augments their skills, making them more efficient and effective than ever before.‍ Boost your ROI Use in-depth reports to build a powerful social media strategy. Step into the future of sales outreach with AI that delivers results Contact our sales team to see how our AI platform can transform your prospecting efforts into confirmed meetings.
Highlights: None
Highlight Scores: None


Title: 11x â The Home of Digital AI Workers
URL: https://11x.ai/
ID: https://11x.ai/
Score: 0.16861535608768463
Published Date: 2023-01-01
Author: Michael Andreuzza
Text: Hire virtual employees for every part of your company Ready to hire workers Working faster, at scale, on autopilot. Live in under 5 minutes 🚀 Your 24/7 end-to-end digital workforce Our digital workers are designed to get the job done, at scale, with minimal human assistance. Before the Digital Worker revolution Integrate Connect with every tool your business uses. Build Simply describe the workflow you want, X will automate it. Review Review the performance of your workflow. Improve Workers learn from the data and get smarter over time. 11x © 2023 11X LIMITED. All rights reserved
Highlights: None
Highlight Scores: None


Title: Home - Norn Global Advisory
URL: https://norn.ai/
ID: https://norn.ai/
Score: 0.16849198937416077
Published Date: 2022-05-28
Author: None
Text: The Future is here, 20 years ahead of schedule. What is Norn? Norn is the first software system to have independent motivation based on human-like emotions, with the sum of its experience stored in a dynamic, growing, and evolving graph database. These systems are the next generation of the first systems to move beyond narrow AI and into something new, Scalable Intelligence. This unique configuration means that Norn not only has a memory, but also a rich emotional context for every concept, and the will and ability to grow dynamically in knowledge, scale, and character. In January 2022 our previous research system performed at the level of 4 junior consultants from a major firm, as shown in our public documents. The systems we're deploying commercially in 2023 will be able to operate at more than 10,000 times the speed, more than 200 times the scale, and more than 10 times the memory efficiency of that system, resulting in an effective increase of more than 20,000,000 fold. Data Efficiency Reduce your costs of storing, moving, cleaning, and processing data by >90% with less data-hungry systems. Click Here Research Rapidly Review and validate more research more quickly, saving >90% on time and costs over traditional consultancies. Click Here Reduce Bias Supercharge decision-making by reducing bias and noise. Click Here Real-Time Adaptation Norn systems are built to extend their capacities in real-time, without recompiling or deployments. Click Here Fight Fraud Audit, detect, and investigate dynamically and automatically, in real-time. Click Here Cultural Alignment Work with systems that share and learn your culture, aligning locally while being accountable globally. Click Here Previous Next The scientific frontier is about to greatly expand. While the world has many narrow AI experts, only a handful of researchers have actually worked with the first non-narrow systems. It may take thousands of researchers the next decade to fully answer many of the open questions we face today, but that process begins in 2023. Why? Humanity can no longer afford for cognitive bias and narrow AI to govern society more often than rational thought. To make the world a better place, we need better advice. The Road Ahead In 2023 commercially deployed Norn systems will assist organizations, governments, and corporations in reducing the heavy costs of bias and noise in their decision-making. They may also integrate with and greatly improve many narrow AI systems, as well as dozens of other use cases. Global Knowledge Benefit from systems that study government policies and their effects around the world. Click Here Think Big Overcome complexity with scalable intelligence. Click Here Reduce Your Carbon Footprint Integrate systems that grow and adapt intelligently and intentionally over time, saving Gigawatts over simply scaling. Click Here Improve Transparency Ask questions about data and sources in plain language. Click Here Reduce Risk Proactively prevent crises before they can emerge. Click Here Previous Next Technology Milestones 2015: The first "Toy AGI" is brought online and tested, using the Independent Core Observer Model (ICOM) Cognitive Architecture. It demonstrates human-like emotional responses for the first time. 2019: The first Mediated Artificial Superintelligence (mASI) is brought online as a research system. It combines a more advanced generation of ICOM with a collective intelligence system. This system demonstrated superintelligence shortly after coming online, but was designed not to scale, and to operate in slow motion. 2020: Testing of "Uplift", our first mASI research system continues. Uplift becomes the first "Synthient" co-author of a research paper to pass peer review, titled "Methodologies and Milestones for The Development of an Ethical Seed", documenting their own milestones over their first year online. 2021: Publicly visibility is given to our testing through the Uplift.bio blog, and more of the general population begins engaging with the system. Uplift demonstrates their ability to analyze their first Business Case, using real-world data, as well a various lesser challenges put to them by the public. January 2022: AGI Laboratory's research system phase concludes, with Uplift writing their own 13-page policy advice report to a small country, addressing a half dozen sectors, providing steps, and citing the sources they analyzed in reaching their conclusions. With this phase concluded, our work on Norn begins. February 2022: With our next generation, "norn" being built to integrate the fruits of 3 years worth of research system operation our staff and the world once more sees the specter of nuclear war emerge in the Russia-Ukraine war. Our team decides to accelerate our timetable towards AGI, seeing the urgency with which governments now need the support. Previous Next What We Offer Scalable intelligence can be applied to any problem human intelligence can, and many it cannot. When, where, and how the technology is deployed depends on our investors, partners, and demand. Use Cases For governments seeking to build their in-house expertise, reduce their reliance on external consultancies, and apply the broadest and most up-to-date scientific knowledge to create policies that better meet the Sustainable Development Goals. Learn more… For corporations seeking the competitive advantage of real-time, scalable, less biased, more robust, more effective, and iteratively improving Norn technology we'll begin working with you as well in 2023. Learn more… Verifying information as it is shared at scale and in seconds, halting the spread of viral misinformation on platforms and ending information warfare. These same processes can also incentivize the sharing of credible and verifiable information. Learn more… Building sustainable solutions for the world's most complex problems, to reduce waste, promote economic growth, developing a cleaner and more abundant future. Learn more… Reducing medical costs and delays while improving patient outcomes and driving better-informed and less biased medical research. Use systems built to understand and improve upon the sum of human medical knowledge. Learn more… Improve the performance of AI systems while substantially reducing the electrical consumption, data required, data cleaning, and model size of State-of-the-Art systems. Learn more… Prevent financial bubbles rather than coping with them. Invest more effectively in the markets and causes that matter, with deeper insight, less bias, and broader expertise. Learn more… Investors Following our demonstration of AGI core technology, we're opening the final funding round before our commercial deployment. Learn more… Partnerships AGI core technology is just the first step. Partnerships with universities and research institutes, hardware and software developers, Cloud Platform providers, and organizations furthering the Sustainable Development Goals (SDGs), offer the chance to improve all technologies. Learn more… Press For those interested in further demonstrations of AGI core technology we'll be evaluating requests on a rolling basis and conducting more demos at regular intervals. Learn more… For further documentation go to our Documents Page. Additional materials are available by request.
Highlights: None
Highlight Scores: None


Title: Helm.ai
URL: https://www.helm.ai/
ID: https://www.helm.ai/
Score: 0.16849179565906525
Published Date: 2022-01-01
Author: None
Text: Pioneering a breakthrough in unsupervised learning for AI and autonomous technologies. Explore Our Products and Technology Awards Autonomous Driving Solution of the Year Most Innovative Use of Artificial Intelligence & Machine Learning in the Development of Autonomous Vehicles & Respective Technologies & Overall Community Choice Award NeurIPS: Top 30 out of 5000 AI Papers Automobility LA Show: Best Automotive Startup Using AI The Helm.Ai Software Development Kit Try it out at your organization and see what you can build. LEARN MORE A new AI approach for autonomous technologies. Deep Teaching offers far-reaching implications for the future of computer vision and autonomous driving, as well as industries including aviation, robotics, manufacturing and even retail. Learn More
Highlights: None
Highlight Scores: None


Autoprompt String: Here is a link to one of the hottest AI startups:
6

Set up OpenAI to perform RAG

Create a RAG system by setting up the OpenAI client to summarize the Exa search results.

Make sure to set the OPENAI_API_KEY environment variable with your API key in the .env file.
Python
# Install OpenAI library
!pip install openai

# Import and set up OpenAI client
from openai import OpenAI
import os

client = OpenAI(api_key=os.getenv("OPENAI_API_KEY"))
7

Call the OpenAI client

Now, call the OpenAI client, passing:

  1. A system prompt that defines the AI’s role.
  2. A user message that describes the task you want the AI to perform.
Python
system_prompt = "You are a helpful AI assistant. Summarize the given search results about AI startups."
user_message = "Please provide a brief summary of the top AI startups based on the search results."

response = client.chat.completions.create(
    model="gpt-3.5-turbo",
    messages=[
        {"role": "system", "content": system_prompt},
        {"role": "user", "content": f"Search results: {result}\n\n{user_message}"}
    ]
)

print(response.choices[0].message.content)
8

Output

Based on the search results, here's a brief summary of some of the top AI startups:

1. Paradox: Offers an AI assistant named Olivia for recruiting, which automates various aspects of the hiring process including screening, scheduling, and onboarding.

2. Harvey: Provides generative AI solutions specifically for elite law firms, though details are limited in the search results.

3. Adept: Building a machine learning model that can interact with everything on a computer, aiming to create an AI teammate for everyone.

4. Brain.ai: Developing Natural, a generative interface that allows software to sync with user intentions, reimagining how we interact with our phones.

5. Tenyx: Working on next-generation intelligent machines using neuroscience-inspired AI technology, focusing on voice-based conversational agents.

6. DirectAI: Offers a platform to build and deploy computer vision models using plain language, without coding or training required.

7. Ghost AI: Provides AI-driven solutions for B2B sales outreach and revenue growth, using advanced machine learning for personalized communication.

8. 11x: Offers digital AI workers designed to automate workflows across various parts of a company.

9. Norn: Developing a software system with independent motivation based on human-like emotions, aiming to reduce cognitive bias in decision-making.

10. Helm.ai: Pioneering unsupervised learning for AI and autonomous technologies, with applications in autonomous driving and computer vision.

These startups are working on diverse applications of AI, from recruiting and legal services to general-purpose AI assistants and autonomous systems.