Tip
You can use the deployed InfoFusion
and skip the local InfoFusion setup
steps.
You can use our deployed InfoFusion page.
This online deployment does not collect or upload any data. You can view the source code on the GitHub repository.
If you still have concerns, you can follow the steps below to launch the InfoFusion page locally.
Tip
If you have front-end development experience, you can directly clone this repository and use npm to start the project.
The project uses Next.js 14
, Node 20
, and npm
.
Open cmd
or terminal
and enter:
git clone https://github.com/LeoLin4258/Infofusion
Once cloning is complete, navigate into the InfoFusion folder:
cd Infofusion
Check if you have Node installed:
node -v
- If it shows
v xx.xx.x
, you can proceed to the next step. - If it prompts that Node is not installed, you can download and install it from the Node.js website.
npm i
To launch InfoFusion locally, run:
npm run preview
Or to launch InfoFusion locally, run:
npm run dev
If you see the following output, the project has started successfully:
> [email protected] dev
> next dev
▲ Next.js 14.0.4
- Local: http://localhost:3000
- Environments: .env
✓ Ready in 1900ms
Now, you can access InfoFusion by entering http://localhost:3000
in your browser.
On the first page load, it might take a little time. This delay will only occur the first time after starting the project.
Note
Before proceeding with this step, make sure you have installed and started RWKV Runner.
You can follow the guide in the RWKV Runner Documentation.
In the RWKV-Runner application, click the Settings
button on the left to go to the configuration page.
Copy the port number next to API Port
.
The default port is usually
8000
.
Go to the InfoFusion page and click the Settings
button on the left side of the page.
In the input field labeled Runner Port
, enter the RWKV Runner API port number you just copied.
The format should be
http://127.0.0.1:8000
, where8000
is replaced with your copied API port number.
Click the Update/Test
button.
If a notification appears in the top right saying ✅Runner API connected
, InfoFusion has successfully connected to your RWKV Runner.
Warning
For the current version, please use rwkvchat
from the release instead of PyWxDump.
Download and double-click to run rwkvchat
.
Double-click to run the rwkvchat.exe
program.
Go to the InfoFusion page and click the Settings
button on the left side of the page.
Click the Retry
button in the WeChat Account
section.
After initializing and loading your WeChat data, you can go to the Chat Page
to start using InfoFusion.
Once you've completed the steps above, you're ready to start using InfoFusion.
- Go to the InfoFusion page.
- Click the
Chat
button on the left. - Select a chat room.
- Click the number button to the left of the
✨
button in the bottom right corner to choose how many responses you'd like to generate at once.The more responses you choose, the longer it will take to generate them. It's recommended to choose 3 or fewer.
- Click the
✨
button in the bottom right corner to start generating responses. - Once the responses are generated, click on the one you think is suitable.
The content will be copied to your clipboard, and you can manually paste it into the WeChat app.
Automatically add the ✨AI Generated
tag when copying responses:
- After generating AI responses, click the
[] Add AI Generated tag
button at the bottom left of the response card. - When you click copy, the
✨AI Generated
tag will be added to the end of the content.
This feature is currently unavailable and will be enabled in the next update.
Export chat data with a friend in JSONL format:
- Go to the InfoFusion page.
- Click the
Chat
button on the left. - Select a chat room.
- Click the menu button in the top right corner.
- Click
Export Chat Data
. - Wait for your file to process.
- Once the file is ready, click the
Download
button, and the JSONL file will begin downloading in your browser.