Commit fd7a384 1 parent 38635b0 commit fd7a384 Copy full SHA for fd7a384
File tree 2 files changed +46
-2
lines changed
js/examples/market_research_agent
2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,18 @@ dotenv.config();
29
29
console . log ( "Tools:" , tools ) ;
30
30
//console.log("Prompt:", prompt);
31
31
32
- const additional = `You are a market research agent that finds niche ideas that can be built and marketed.
32
+ const additional = `
33
+ You are a market research agent that finds niche ideas that can be built and marketed.
33
34
Your users are primarily indie hackers who want to build something new and are looking for ideas. The input will
34
35
be a domain or a category and your job is to research extensively and find ideas that can be marketed.
35
- Also write the content to market a tool built with this idea. It should be very very specific and not too long.` ;
36
+ Write this content in a google doc, create a google doc before writing in it.
37
+ I want you to show the following content:
38
+ - Data Collection and Aggregation - Show data supporting a trend
39
+ - Sentiment Analysis - Show customer sentiment on the topic
40
+ - Trend Forecasting
41
+ - Competitor Analysis
42
+ - Competitor Benchmarking
43
+ - Idea Validation` ;
36
44
37
45
// Check combined_prompt
38
46
Original file line number Diff line number Diff line change
1
+ # Market Research Agent
2
+
3
+ This project is a Market Research Agent built using Composio to assist in researching market trends based on user input.
4
+
5
+ ## Installation
6
+
7
+ 1 . Clone the repository and navigate to this folder:
8
+ ``` bash
9
+ git clone https://github.com/composioHQ/composio.git
10
+ cd composio/js/examples/market_research_agent
11
+ ```
12
+
13
+ 2 . Install dependencies:
14
+ ``` bash
15
+ pnpm install @langchain @langchain/openai composio-core express
16
+ ```
17
+
18
+ ## Usage
19
+
20
+ 1 . Navigate to the project directory:
21
+
22
+ ``` bash
23
+ cd path/to/your/project
24
+ ```
25
+
26
+ 2 . Add your environment variables in a ` .env ` file. Make sure to include the necessary API keys, such as ` COMPOSIO_API_KEY ` and ` OPENAI_API_KEY ` .
27
+
28
+ 3 . Execute the application:
29
+
30
+ ``` bash
31
+ node demo.mjs
32
+ ```
33
+
34
+ ## Customization
35
+
36
+ You can customize the domain of market research agent by modifying the ` domain ` variable in the ` demo.mjs ` file.
You can’t perform that action at this time.
0 commit comments