https://github.com/rainoffallingstar/chattragents
chattragents
https://github.com/rainoffallingstar/chattragents
Last synced: 10 days ago
JSON representation
chattragents
- Host: GitHub
- URL: https://github.com/rainoffallingstar/chattragents
- Owner: rainoffallingstar
- License: other
- Created: 2024-08-24T15:25:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T12:21:58.000Z (almost 2 years ago)
- Last Synced: 2025-10-17T15:56:53.550Z (10 months ago)
- Language: R
- Size: 282 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# chattragents
agents for chattr package, port from
## how to use
``` r
pak::pak("rainoffallingstar/chattragents")
pak::pak("rainoffallingstar/chattr")
library(chattragents)
library(chattr)
Sys.setenv("OPENAI_API_KEY" = "####################")
chattr::chattr_use("yi")
chattragent_use("情感陪伴师")
chattr::chattr("有个比我老的人,喊我姐,我生气了,哄哄我")
```
> 哎呀,别生气了,宝贝。你是最年轻最漂亮的,谁敢说你老啊?肯定是眼瞎了。来,笑一个,我给你讲个笑话,保证你听了心情立刻变好。😘🌟