当前位置: 首页>后端>正文

OperateGPT-一行需求完成运营

OperateGPT:涓€琛岄渶姹傚畬鎴愯繍钀?/h2>

绔嬪嵆浣撻獙

馃敟馃敟[GITHUB] OperateGPT Release Version:V0.0.1

涓撲笟鍚嶈瘝

Agent:鑷富鐞嗚В銆佽鍒掋€佹墽琛屽鏉備换鍔$殑绯荤粺

Multi-Agents:澶氫釜Agents鍏变韩璁板繂锛岃嚜涓诲畬鎴愪换鍔$殑绯荤粺

Embeddings:鏂囨湰宓屽叆锛屽皢鏂囨湰杞寲涓哄悜閲忓瓨鍌ㄥ埌鍚戦噺鏁版嵁搴擄紝瀹炵幇鏂囨鍐呭鐩镐技搴︽悳绱?/p>

Connections:鏁版嵁婧愯繛鎺ワ紝濡傝繛鎺ヤ笉鍚岀被鍨嬫暟鎹簱鐨勬柟寮忋€佽幏鍙杙df, ppt,excel鏂囨。淇℃伅鐨勬柟寮?/p>

OperateEngine:杩愯惀鍐呭鐢熸垚prompt銆佹眹鎬籹ummary銆佸鏍稿拰杩愯惀骞冲彴鍙戝竷绛夊伐绋嬪疄鐜?/p>

鏋舵瀯

OperateGPT-一行需求完成运营,第1张
operateGPT_arch

OperateGPT宸ヤ綔鍘熺悊

鍒╃敤澶ц瑷€妯″瀷鍜屽鏅鸿兘浣撴妧鏈紝閫氳繃涓€鍙ヨ瘽闇€姹傝嚜鍔ㄧ敓鎴愯繍钀ユ枃妗堛€佸浘鐗囧拰瑙嗛锛屼竴閿€傞厤鍙戦€佸涓钩鍙板疄鐜板揩閫熻繍钀ャ€?/b>

鏁版嵁婧?/h3>

鏍规嵁鐢ㄦ埛闇€姹傝嚜鍔ㄨ瘑鍒暟鎹簮锛屽彲鑳芥潵婧愪簬涓嬮潰鍚勭鏁版嵁锛?/p>

1. 鍥犵壒缃戯細鍥犵壒缃戜笂鐨勬墍鏈夎兘璁块棶缃戦〉璧勬簮锛岄兘鍙互閫氳繃鐩稿叧鎬ф悳绱㈡煡璇紝浣滀负榛樿璇嗗埆鐨勬暟鎹簮

2. 鏁版嵁搴擄細鐢ㄦ埛鏁版嵁搴撴暟鎹綔涓虹鏈夋暟鎹紝缁撳悎鐢ㄦ埛杩愯惀闇€姹傚畬鎴愭櫤鑳紹I锛岀敓鎴愬垎鏋愬浘琛?/p>

3. 闊?瑙嗛锛氱粨鍚堣繍钀ラ渶姹傚満鏅浉鍏虫€э紝鍙嚜鍔ㄥ祵鍏ュ埌杩愯惀鎶ュ憡涓?/p>

4. 鍥剧墖锛氱粨鍚堣繍钀ラ渶姹傚満鏅浉鍏虫€э紝鍙嚜鍔ㄥ祵鍏ヨ繍钀ユ姤鍛?/p>

5. 鏈湴鏂囨。锛氭湰鍦版枃妗h祫鏂橢mbedding涔嬪悗瀛樺偍鑷冲悜閲忔暟鎹簱锛屾敮鎸佺煡璇嗗簱闂瓟,涔熷彲浠ヤ綔涓鸿繍钀ョ殑閲嶈姹囨€绘暟鎹潵婧?/p>

鏁版嵁姹囨€?/h3>

鏍规嵁杩愯惀闇€姹傦紝浠庡悇涓暟鎹簮涓煡璇㈢浉鍏虫暟鎹仛杩涗竴姝ュ垎鏋愬拰姹囨€汇€?/p>

1. URL鏁版嵁锛氬彲浠ヤ粠google锛岀櫨搴︼紝bing绛夌綉绔欏拰骞冲彴鏌ヨ鐩稿叧鎬ц緝寮虹殑top缃戦〉鏁版嵁锛岄€氳繃灏嗚繖浜涙暟鎹垏鍒嗘垚鍧椾箣鍚嶦mbedding锛岀敓鎴愬悜閲忔暟鎹紝鍐嶉€氳繃鐩镐技搴︽悳绱㈡煡璇㈠叧绯诲瀷鏈€寮虹殑涓€浜涘唴瀹逛綔涓烘枃妗堢敓鎴愮殑鍩虹鏁版嵁銆?/p>

2. 鏁版嵁搴擄細缁撳悎杩愯惀闇€姹備笌涓氬姟鍦烘櫙锛岀敓鎴怱QL浠嶳DB/NoSQL鏁版嵁搴撲腑鏌ヨ鐩稿叧鏁版嵁鐢熸垚鎶ヨ〃锛屾姤琛ㄦ暟鎹皢浣滀负杩愯惀鏁版嵁鐨勪竴閮ㄥ垎宓屽叆

3. 鏈湴鏂囨。锛氫粠鍚戦噺鏁版嵁搴撴悳绱?/p>

鍐呭鐢熸垚

1. 閫氳繃Prompt宸ョ▼浠庢眹鎬绘暟鎹彁鍙栦竴閮ㄥ垎浜嬬墿鍜屽満鏅互鍙婂叾鍏峰鐨勪竴浜涚壒鎬э紝鐢盨tableDiffusion鎴栬€匨idjourney鐢熸垚鍥剧墖锛屼粠Gen-2鎴栧紑婧愯棰戞ā鍨嬬瓑鐢熸垚瑙嗛鍐呭

2. 閫氳繃Prompt宸ョ▼灏嗙幇鏈夌殑杩愯惀姹囨€诲唴瀹广€佸垎鏋愭姤琛ㄣ€佸浘鐗囥€佽棰戞櫤鑳界粍鍚堬紝蹇€熺敓鎴愮鍚堣繍钀ラ渶姹傜殑鏂囩珷/瑙嗛/缃戦〉绛?/p>

3. 缁撳悎骞冲彴鐗规€у鐢熸垚鍐呭鍋氬亸鍚戣皟鏁达紝渚嬪B绔欍€佹姈闊崇瓑瑙嗛娴侀噺骞冲彴涓撴敞浜庤棰戠敓鎴愶紝灏嗚繍钀ュ唴瀹瑰祵鍏ュ埌瑙嗛涓紱鐭ヤ箮銆丆SDN绛夊钩鍙板缁撳悎鍥炬枃鍐呭鐢熸垚鏂囨

鍐呭瀹℃牳

杩愯惀鏁版嵁闇€瑕佸鏍告墠鑳藉彂甯冿紝鏈€绠€鍗曠殑瀹℃牳鏂规硶灏辨槸璁㎜LM瀛︿範鍐呭瀹℃牳鏉$害瀹炵幇鏅鸿兘瀹℃牳

1. 鍐呭璐ㄩ噺瀹℃牳

2. 鍐呭鍚堟硶鍚堣瀹℃牳

3. 鏁忔劅鏁版嵁瀹℃牳

骞冲彴鎺ㄩ€?/h3>

1. 涓€閿帹閫佸骞冲彴

2. 璐﹀彿绠$悊

瀹夎閮ㄧ讲

绾枃瀛楄繍钀ユ枃妗?/b>

```

git clone https://github.com/xuyuan23/operateGPT.git

pip install -r requirements.txt

# 宓屽叆妯″瀷涓嬭浇

mkdir models & cd models

git lfs install

git clone https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2

# 閰嶇疆, 澶嶅埗浠ヤ笅鍐呭骞朵慨鏀筄PEN_AI_KEY={your-openai-key}

cp .env.template .env

# 鍚姩

python main.py "鎴愰兘鏃呮父鎺ㄨ崘"

```

鍚獳I鐢熸垚鍥惧儚鐨勬枃妗堬紝闇€瑕佽ˉ鍏呬笅闈㈡湇鍔?/b>

```

# 16GB鍐呭瓨鎴栬€呮樉瀛橈紝鍙湰鍦拌繍琛?/p>

git lfs install

git clone https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0

python operategpt/providers/stablediffusion.py

## 鎴栬€呬簯绔儴缃蹭唬鐞? https://github.com/xuyuan23/stablediffusion-proxy

```

鍚獳I瑙嗛鐨勬枃妗堬紝闇€瑕佽ˉ鍏呬笅闈㈡湇鍔?/b>

```

git lfs install

git clone https://huggingface.co/cerspense/zeroscope_v2_576w

python operategpt/providers/text2video.py

## 鎴栬€呬簯绔儴缃蹭唬鐞? https://github.com/xuyuan23/Text2Video

```


https://www.xamrdz.com/backend/3v21920641.html

相关文章: