No project description provided
Project description
Orator: Facilitating Academic Exchange and Enlightenment with AI
How to run
Step 1: Installation
安装orator
pip install redcoast-orator
Step 2: Create an .env file
切换到合适的路径,创建项目文件夹,并创建环境配置文件:
cd ~
mkdir orator-demo
cd orator-demo
请按照如下方式配置.env文件:
# OratorAgent的名字
ORATOR_AGENT_NAME=(name_of_your_agent)
# WebUI页面的标题/作者信息/其他信息
ORATOR_TITLE=(title_of_your_work)
ORATOR_AUTHOR=(authors_of_your_work)
ORATOR_DETAILED_INFO=(additional_infomation_of_your_work)
# OratorAgent开场白问候语
ORATOR_GREETING=你好,我是{name},一个旨在增强你对论文《{title}》理解的智能助手。我的目标是为你提供更深入的理解和分析论文的帮助。你可以使用任何你熟悉的语言来了解这篇论文。
# OratorAgent的host和port
ORATOR_SERVER_HOST=0.0.0.0
ORATOR_SERVER_PORT=11224
# OratorAgent要讲解的论文(可以是文件夹路径或pdf文件路径)
ORATOR_PATH_PAPER=(pdf_paper_of_your_work)
# OratorAgent要讲解的论文对应的代码路径(非必选)
# ORATOR_PATH_CODE=(code_path_of_your_work)
# 论文代码分享链接(如有)
# ORATOR_SHARELINK_CODE=
# 论文PDF分享链接(如有)
# ORATOR_SHARELINK_PAPER=
# 论文数据集分享链接(如有)
# ORATOR_SHARELINK_DATASET=https://github.com/Dr-Corgi/OpenOrator-Private
# Embedding/语言模型API key
OPENAI_API_BASE=https://api.siliconflow.cn/v1
OPENAI_API_KEY=(你的API_KEY)
EMBEDDING_MODEL=BAAI/bge-m3
LANGUAGE_MODEL=Qwen/Qwen2-7B-Instruct
Step 3: Launch Orator
在.env文件所在的路径下运行命令:
python -m orator.launch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redcoast-orator-0.0.1.tar.gz
(15.5 kB
view details)
Built Distribution
File details
Details for the file redcoast-orator-0.0.1.tar.gz
.
File metadata
- Download URL: redcoast-orator-0.0.1.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac308560b2963f01c7a549869a68f42250a01a14af04b8960bdbe73b04d1f874 |
|
MD5 | 8537da83817d2f4ef858765371c3aa54 |
|
BLAKE2b-256 | 7652887c8c2a46152e2b9b2a55dad8f2e0c0e808c829362061aff9518a1ba6ce |
File details
Details for the file redcoast_orator-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: redcoast_orator-0.0.1-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 205a1ac3ed917264cb2c9eed3d2fa2769da431883c7dc50cfb98f8d8b37a74a0 |
|
MD5 | 39be5f9308c7a4bd65e4be63f264b661 |
|
BLAKE2b-256 | 04943fdadd64fde727ee114027ea4cbc7c33b8bb2da4ac29c9dcdffb7938ab8e |