https://github.com/zaidmukaddam/greynoise-ai
Let AI get info about any IP address. Powered by GreyNoise Enterprise API and OpenAI's GPT-4 Turbo x Function Calling.
https://github.com/zaidmukaddam/greynoise-ai
Last synced: 6 months ago
JSON representation
Let AI get info about any IP address. Powered by GreyNoise Enterprise API and OpenAI's GPT-4 Turbo x Function Calling.
- Host: GitHub
- URL: https://github.com/zaidmukaddam/greynoise-ai
- Owner: zaidmukaddam
- Created: 2023-12-07T19:20:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T15:05:10.000Z (almost 2 years ago)
- Last Synced: 2025-04-30T20:15:47.254Z (6 months ago)
- Language: TypeScript
- Homepage: https://greynoiseai.za16.fyi
- Size: 700 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GreyNoise AI
This project is a web application that uses AI to get information about any IP address. It's powered by GreyNoise Enterprise API and OpenAI's GPT-4 Turbo x Function Calling.
## Getting Started
First, run the development server:
```sh
npm run dev
```
Open http://localhost:3000 with your browser to see the result.### Dependencies
This project uses several dependencies, including:
- Next.js
- React
- TypeScript
- Tailwind CSS
- Headless UI
- Heroicons
- Classnames
- Lodash
- OpenAI
- React Markdown
- React Textarea Autosize## Contributing
The functions are stored in `utils/functions.ts`, the examples are stored in `utils/data.ts`, and the API calls are stored in `pages/api/generate.ts`.
To add new functions, open `utils/functions.ts`, do the following:
1. Create a new async function that takes in a string as a parameter and returns a promise.
2. Add the function to the switch statement in the `runFunction` function.
3. Then add the function to the `functions` array. The function should have the following properties:- `name`: The name of the function
- `description`: A description of the function
- `parameters`: An array of objects with the following properties:
- `name`: The name of the parameter
- `type`: The type of the parameter
- `description`: A description of the parameterTo add new examples, open `utils/data.ts` and add a new example to the `examples` array. The example should be simple text.