Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ai-intern

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai-intern

AI Intern

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

AI Agent Task Runner

This repo is a WIP.

The agent currently has 2 plugins, one to search Wikipedia and another to perform calculations.

Here's an example

Question: Generate a painting of a famous deaf classical music composer sitting under the most popular tree in Japan, painted in the style of the painter that lost his ear.
Answer: <url> (A Van Gogh painting of Mozzart sitting under a cherry blossom tree) 

How it works?

The prompting is based on the Thought/Action/Observation and Chain of Thought techniques.

Long output with the env var VERBOSE being true:

Question: What is the population of the capital of France raised to the 3rd power?
Thought: I should find the population of the capital of France and raise it to the third power.
Action: wikipedia: What is the capital of France? 
PAUSE
 -- running plugin action wikipedia What is the capital of France? 
Observation: variants of the above close-ended questions which possess specific responses
are: On what day were you born? ("Saturday.") What is the capital of France?
("Paris
Thought: The capital of France is Paris. I should find its population and raise it to the third power.
Action: wikipedia: What is the population of Paris? 
PAUSE
 -- running plugin action wikipedia What is the population of Paris? 
Observation: population of 12.271.794 habitants on January 1, 2023, or about 19% of the
population of France, making the region France's primate city. The Paris Region
Thought: The population of Paris is 12.271.794. I should raise it to the third power.
Action: calculate: 12271794 ** 3 
PAUSE
 -- running plugin action calculate 12271794 ** 3 
Observation: 1.848094477184203e+21
Answer: The population of the capital of France, Paris, raised to the third power is 1.848094477184203e+21.

FAQs

Package last updated on 25 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc