initial commit

This commit is contained in:
Adrian Charkiewicz 2023-05-21 22:53:02 +02:00
parent a082a9be89
commit 0d3b7d0a31
58 changed files with 736 additions and 438 deletions

118
README.md
View File

@ -1,118 +0,0 @@
# AI Talks
[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://agi-talks.streamlit.app)
![](ai_talks/assets/img/ai_face.png)
A ChatGPT API wrapper, providing a user-friendly Streamlit web interface.
Enhance your ChatGPT experience with our user-friendly API wrapper, featuring a seamless Streamlit web interface. Effortlessly interact with ChatGPT, while enjoying an intuitive and responsive design. Discover simplified access to advanced AI technology in just a few clicks.
<details>
<summary>Demo</summary>
![](ai_talks/assets/demo/ai-talks.gif)
<details>
<summary>Tokens counting</summary>
![](ai_talks/assets/demo/ai-talks-tokens.gif)
</details>
</details>
## Setup
1. Clone repo:
```bash
git clone https://github.com/dKosarevsky/AI-Talks.git
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Add API key to `.streamlit/secrets.toml`
```toml
[api_credentials]
api_key = "sk-..."
```
## Usage
To run the app use the following command:
```bash
bash run.sh
```
Another way:
```bash
streamlit run ai_talks/chat.py
```
Once the script is started, you can go to the URL [http://localhost:8501](http://localhost:8501) to start using the bot.
## License
This project is released under the [MIT License](LICENSE).
## Donation
<details>
<summary>Support project</summary>
`AI Talks` collects donations solely for the purpose of paying for the `Open AI` API.
This allows you to provide access to communication with AI for all users.
Support us for joint development and interaction with the intelligence of the future!
**Crypto:**
- Bitcoin (BTC)
```
1HRDUif7oKDw9XJFXZ14TZZazokf4QH9fb
```
- USD Tether (USDT TRC20):
```
TMQ5RiyQ7bv3XjB6Wf6JbPHVrGkhBKtmfA
```
- Toncoin (TON):
```
UQDbnx17N2iOmxfQF0k55QScDMB0MHL9rsq-iGB93RMqDhIH
```
**World:**
- [Buy Me A Coffee](https://www.buymeacoffee.com/aitalks)
- [ko-fi](https://ko-fi.com/ai_talks)
- [PayPal](https://www.paypal.com/paypalme/aitalks)
**Russia:**
- [Tinkoff](https://www.tinkoff.ru/cf/4Ugsr5kQ1sR)
- [donationalerts](https://www.donationalerts.com/r/if_ai)
- [boosty](https://boosty.to/ai-talks/donate)
- [CloudTips](https://pay.cloudtips.ru/p/eafa15b2)
![](ai_talks/assets/qr/tink.png)
</details>
## Project Stats
<p align="center">
<a href="https://star-history.com/#dKosarevsky/AI-Talks&Date">
<img src="https://api.star-history.com/svg?repos=dKosarevsky/AI-Talks&type=Date" alt="All Stars History Chart">
</a>
</p>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 331 KiB

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="24px" height="24px"><linearGradient id="BiF7D16UlC0RZ_VqXJHnXa" x1="9.858" x2="38.142" y1="9.858" y2="38.142" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#33bef0"/><stop offset="1" stop-color="#0a85d9"/></linearGradient><path fill="url(#BiF7D16UlC0RZ_VqXJHnXa)" d="M44,24c0,11.045-8.955,20-20,20S4,35.045,4,24S12.955,4,24,4S44,12.955,44,24z"/><path d="M10.119,23.466c8.155-3.695,17.733-7.704,19.208-8.284c3.252-1.279,4.67,0.028,4.448,2.113 c-0.273,2.555-1.567,9.99-2.363,15.317c-0.466,3.117-2.154,4.072-4.059,2.863c-1.445-0.917-6.413-4.17-7.72-5.282 c-0.891-0.758-1.512-1.608-0.88-2.474c0.185-0.253,0.658-0.763,0.921-1.017c1.319-1.278,1.141-1.553-0.454-0.412 c-0.19,0.136-1.292,0.935-1.745,1.237c-1.11,0.74-2.131,0.78-3.862,0.192c-1.416-0.481-2.776-0.852-3.634-1.223 C8.794,25.983,8.34,24.272,10.119,23.466z" opacity=".05"/><path d="M10.836,23.591c7.572-3.385,16.884-7.264,18.246-7.813c3.264-1.318,4.465-0.536,4.114,2.011 c-0.326,2.358-1.483,9.654-2.294,14.545c-0.478,2.879-1.874,3.513-3.692,2.337c-1.139-0.734-5.723-3.754-6.835-4.633 c-0.86-0.679-1.751-1.463-0.71-2.598c0.348-0.379,2.27-2.234,3.707-3.614c0.833-0.801,0.536-1.196-0.469-0.508 c-1.843,1.263-4.858,3.262-5.396,3.625c-1.025,0.69-1.988,0.856-3.664,0.329c-1.321-0.416-2.597-0.819-3.262-1.078 C9.095,25.618,9.075,24.378,10.836,23.591z" opacity=".07"/><path fill="#fff" d="M11.553,23.717c6.99-3.075,16.035-6.824,17.284-7.343c3.275-1.358,4.28-1.098,3.779,1.91 c-0.36,2.162-1.398,9.319-2.226,13.774c-0.491,2.642-1.593,2.955-3.325,1.812c-0.833-0.55-5.038-3.331-5.951-3.984 c-0.833-0.595-1.982-1.311-0.541-2.721c0.513-0.502,3.874-3.712,6.493-6.21c0.343-0.328-0.088-0.867-0.484-0.604 c-3.53,2.341-8.424,5.59-9.047,6.013c-0.941,0.639-1.845,0.932-3.467,0.466c-1.226-0.352-2.423-0.772-2.889-0.932 C9.384,25.282,9.81,24.484,11.553,23.717z"/></svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

View File

@ -1,13 +1,11 @@
from pathlib import Path
from random import randrange
import graphviz
import streamlit as st
from src.styles.menu_styles import FOOTER_STYLES, HEADER_STYLES
from PIL import Image
from src.utils.conversation import get_user_input, show_chat_buttons, show_conversation
from src.utils.footer import show_donates, show_info
from src.utils.helpers import get_files_in_dir, get_random_img
from src.utils.lang import en, ru
from streamlit_option_menu import option_menu
from src.utils.lang import en
# --- PATH SETTINGS ---
current_dir: Path = Path(__file__).parent if "__file__" in locals() else Path.cwd()
@ -16,34 +14,23 @@ assets_dir: Path = current_dir / "assets"
icons_dir: Path = assets_dir / "icons"
img_dir: Path = assets_dir / "img"
tg_svg: Path = icons_dir / "tg.svg"
favicon: Path = icons_dir / "favicons/0.png"
# --- GENERAL SETTINGS ---
PAGE_TITLE: str = "AI Talks"
PAGE_ICON: str = "🤖"
LANG_EN: str = "En"
LANG_RU: str = "Ru"
LANG_PL: str = "Pl"
AI_MODEL_OPTIONS: list[str] = [
"gpt-3.5-turbo",
"gpt-4",
"gpt-4-32k",
]
st.set_page_config(page_title=PAGE_TITLE, page_icon=PAGE_ICON)
CONFIG = {"page_title": "AMUsebot", "page_icon": Image.open(favicon)}
st.set_page_config(**CONFIG)
# --- LOAD CSS ---
with open(css_file) as f:
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
selected_lang = option_menu(
menu_title=None,
options=[LANG_EN, LANG_RU, ],
icons=["globe2", "translate"],
menu_icon="cast",
default_index=0,
orientation="horizontal",
styles=HEADER_STYLES
)
# Storing The Context
if "locale" not in st.session_state:
st.session_state.locale = en
@ -65,6 +52,24 @@ if "total_tokens" not in st.session_state:
st.session_state.total_tokens = []
def show_graph():
# Create a graphlib graph object
if st.session_state.generated:
user, chatbot = [], []
graph = graphviz.Digraph()
for i in range(len(st.session_state.generated)):
user.append(st.session_state.past[i])
chatbot.append(st.session_state.generated[i])
for x in range(len(user)):
graph.edge(st.session_state.past[x], st.session_state.generated[x])
try:
graph.edge(st.session_state.generated[x], st.session_state.past[x+1])
except:
pass
st.graphviz_chart(graph)
def main() -> None:
c1, c2 = st.columns(2)
with c1, c2:
@ -87,45 +92,14 @@ def main() -> None:
c2.text_input(label=st.session_state.locale.select_placeholder3, key="role")
if st.session_state.user_text:
show_graph()
show_conversation()
st.session_state.user_text = ""
get_user_input()
show_chat_buttons()
def run_agi():
match selected_lang:
case "En":
st.session_state.locale = en
case "Ru":
st.session_state.locale = ru
case _:
st.session_state.locale = en
st.markdown(f"<h1 style='text-align: center;'>{st.session_state.locale.title}</h1>", unsafe_allow_html=True)
selected_footer = option_menu(
menu_title=None,
options=[
st.session_state.locale.footer_option1,
st.session_state.locale.footer_option0,
st.session_state.locale.footer_option2,
],
icons=["info-circle", "chat-square-text", "piggy-bank"], # https://icons.getbootstrap.com/
menu_icon="cast",
default_index=0,
orientation="horizontal",
styles=FOOTER_STYLES
)
match selected_footer:
case st.session_state.locale.footer_option0:
main()
case st.session_state.locale.footer_option1:
st.image(f"{img_dir}/{get_random_img(get_files_in_dir(img_dir))}")
show_info(tg_svg)
case st.session_state.locale.footer_option2:
show_donates()
case _:
show_info(tg_svg)
if __name__ == "__main__":
run_agi()
st.markdown(f"<h1 style='text-align: center;'>{st.session_state.locale.title}</h1>", unsafe_allow_html=True)
main()

View File

@ -7,16 +7,13 @@ import streamlit as st
@st.cache_data()
def create_gpt_completion(ai_model: str, messages: List[dict]) -> dict:
try:
openai.api_key = st.secrets.api_credentials.api_key
except (KeyError, AttributeError):
st.error(st.session_state.locale.empty_api_handler)
logging.info(f"{messages=}")
completion = openai.ChatCompletion.create(
model=ai_model,
messages=messages,
# stream=True,
# temperature=0.7,
)
logging.info(f"{completion=}")
return completion
#logging.info(f"{messages=}")
# completion = openai.ChatCompletion.create(
# model=ai_model,
# messages=messages,
# # stream=True,
# # temperature=0.7,
# )
#logging.info(f"{completion=}")
# return completion
pass

View File

@ -14,24 +14,3 @@ AI_ROLE_OPTIONS_EN: list[str] = [
"translate corporate jargon into plain English",
]
AI_ROLE_OPTIONS_RU: list[str] = [
"ассистент, который готов помочь",
"ассистент программиста",
"рецензент кода программиста",
"эксперт по улучшению текста",
"эксперт по кинематографу",
"эксперт в области спорта",
"эксперт в онлайн-играх",
"эксперт по рецептам блюд",
"эксперт по английской грамматике",
"эксперт по русской грамматике",
"дружелюбный и полезный помощник преподавателя",
"лаконичный помощник",
"полезный помощник, следующий шаблонам",
"переводчик корпоративного жаргона на простой русский",
]
REPO_URL: str = "https://github.com/dKosarevsky/AI-Talks"
README_URL: str = f"{REPO_URL}#readme"
BUG_REPORT_URL: str = f"{REPO_URL}/issues"
AI_TALKS_URL: str = "https://ai-talks.streamlit.app/"

View File

@ -1,9 +1,9 @@
from random import randrange
import string
from random import randrange, choices
import streamlit as st
from openai.error import InvalidRequestError, OpenAIError
from streamlit_chat import message
from .agi.chat_gpt import create_gpt_completion
from .stt import show_voice_input
from .tts import show_audio_player
@ -19,18 +19,15 @@ def clear_chat() -> None:
st.session_state.total_tokens = []
def show_text_input() -> None:
st.text_area(label=st.session_state.locale.chat_placeholder, value=st.session_state.user_text, key="user_text")
def get_user_input():
match st.session_state.input_kind:
case st.session_state.locale.input_kind_1:
show_text_input()
case st.session_state.locale.input_kind_2:
show_voice_input()
case _:
show_text_input()
# match st.session_state.input_kind:
# case st.session_state.locale.input_kind_1:
# show_text_input()
# case st.session_state.locale.input_kind_2:
# show_voice_input()
# case _:
# show_text_input()
st.session_state.user_text = st.text_input("You: ", "Hello, how are you?", key="primary")
def show_chat_buttons() -> None:
@ -47,54 +44,15 @@ def show_chat_buttons() -> None:
def show_chat(ai_content: str, user_text: str) -> None:
if ai_content not in st.session_state.generated:
# store the ai content
if user_text not in st.session_state.past:
# # store the ai content
st.session_state.past.append(user_text)
st.session_state.generated.append(ai_content)
if st.session_state.generated:
for i in range(len(st.session_state.generated)):
message(st.session_state.past[i], is_user=True, key=str(i) + "_user", seed=st.session_state.seed)
message("", key=str(i), seed=st.session_state.seed)
st.markdown(st.session_state.generated[i])
st.caption(f"""
{st.session_state.locale.tokens_count}{st.session_state.total_tokens[i]} |
{st.session_state.locale.message_cost}{st.session_state.costs[i]:.5f}$
""", help=f"{st.session_state.locale.total_cost}{sum(st.session_state.costs):.5f}$")
def calc_cost(usage: dict) -> None:
total_tokens = usage.get("total_tokens")
prompt_tokens = usage.get("prompt_tokens")
completion_tokens = usage.get("completion_tokens")
st.session_state.total_tokens.append(total_tokens)
# pricing logic: https://openai.com/pricing#language-models
if st.session_state.model == "gpt-3.5-turbo":
cost = total_tokens * 0.002 / 1000
else:
cost = (prompt_tokens * 0.03 + completion_tokens * 0.06) / 1000
st.session_state.costs.append(cost)
def show_gpt_conversation() -> None:
try:
completion = create_gpt_completion(st.session_state.model, st.session_state.messages)
ai_content = completion.get("choices")[0].get("message").get("content")
calc_cost(completion.get("usage"))
st.session_state.messages.append({"role": "assistant", "content": ai_content})
if ai_content:
show_chat(ai_content, st.session_state.user_text)
st.divider()
show_audio_player(ai_content)
except InvalidRequestError as err:
if err.code == "context_length_exceeded":
st.session_state.messages.pop(1)
if len(st.session_state.messages) == 1:
st.session_state.user_text = ""
show_conversation()
else:
st.error(err)
except (OpenAIError, UnboundLocalError) as err:
st.error(err)
message(st.session_state.generated[i], key=str(i), seed=st.session_state.seed)
def show_conversation() -> None:
@ -106,4 +64,13 @@ def show_conversation() -> None:
{"role": "system", "content": ai_role},
{"role": "user", "content": st.session_state.user_text},
]
show_gpt_conversation()
ai_content = "Dummy respone from AI"
# delete random before deploying with our model
random_str = ''.join(choices(string.ascii_uppercase + string.digits, k=5))
ai_content += random_str
st.session_state.messages.append({"role": "assistant", "content": ai_content})
if ai_content:
show_chat(ai_content, st.session_state.user_text)
st.divider()
show_audio_player(ai_content)

View File

@ -1,58 +0,0 @@
from pathlib import Path
import streamlit as st
from .constants import BUG_REPORT_URL, REPO_URL
from .helpers import render_svg
def show_info(icon: Path) -> None:
st.divider()
st.markdown(f"<div style='text-align: justify;'>{st.session_state.locale.responsibility_denial}</div>",
unsafe_allow_html=True)
st.divider()
st.markdown(f"""
### :page_with_curl: {st.session_state.locale.footer_title}
- {render_svg(icon)} [{st.session_state.locale.footer_chat}](https://t.me/talks_ai)
- {render_svg(icon)} [{st.session_state.locale.footer_channel}](https://t.me/talks_aii)
""", unsafe_allow_html=True)
st.divider()
st.markdown(f"project [repo on github]({REPO_URL}) waiting for your :star: | [report]({BUG_REPORT_URL}) a bug")
def show_donates() -> None:
st.markdown(f"""
### :moneybag: {st.session_state.locale.donates}
**Crypto:**
- Bitcoin (BTC)
```
1HRDUif7oKDw9XJFXZ14TZZazokf4QH9fb
```
- USD Tether (USDT TRC20):
```
TMQ5RiyQ7bv3XjB6Wf6JbPHVrGkhBKtmfA
```
- Toncoin (TON):
```
UQDbnx17N2iOmxfQF0k55QScDMB0MHL9rsq-iGB93RMqDhIH
```
**{st.session_state.locale.donates2}:**
- [Buy Me A Coffee](https://www.buymeacoffee.com/aitalks)
- [ko-fi](https://ko-fi.com/ai_talks)
- [PayPal](https://www.paypal.com/paypalme/aitalks)
""")
st.markdown(f"""
**{st.session_state.locale.donates1}:**
- [Tinkoff](https://www.tinkoff.ru/cf/4Ugsr5kQ1sR)
- [donationalerts](https://www.donationalerts.com/r/if_ai)
- [boosty](https://boosty.to/ai-talks/donate)
- [CloudTips](https://pay.cloudtips.ru/p/eafa15b2)
""")
_, img_col, _ = st.columns(3)
with img_col:
st.image("ai_talks/assets/qr/tink.png", width=200)
st.divider()
st.markdown(f"<div style='text-align: justify;'>{st.session_state.locale.donates_info}</div>",
unsafe_allow_html=True)

View File

@ -1,7 +1,7 @@
from dataclasses import dataclass
from typing import List # NOQA: UP035
from .constants import AI_ROLE_OPTIONS_EN, AI_ROLE_OPTIONS_RU, AI_TALKS_URL, README_URL
from .constants import AI_ROLE_OPTIONS_EN
@dataclass
@ -32,16 +32,11 @@ class Locale:
stt_placeholder: str
footer_title: str
footer_option0: str
footer_option1: str
footer_option2: str
footer_chat: str
footer_channel: str
responsibility_denial: str
donates_info: str
tokens_count: str
message_cost: str
total_cost: str
empty_api_handler: str
# --- LOCALE SETTINGS ---
@ -49,7 +44,7 @@ en = Locale(
ai_role_options=AI_ROLE_OPTIONS_EN,
ai_role_prefix="You are a female",
ai_role_postfix="Answer as concisely as possible.",
title="AI Talks",
title="AMUsebot",
language="English",
lang_code="en",
donates="Donates",
@ -72,78 +67,9 @@ en = Locale(
stt_placeholder="To Hear The Voice Of AI Press Play",
footer_title="Support & Feedback",
footer_option0="Chat",
footer_option1="Info",
footer_option2="Donate",
footer_chat="AI Talks Chat",
footer_channel="AI Talks Channel",
responsibility_denial="""
`AI Talks` uses the `Open AI` API to interact with `ChatGPT`, an AI that generates information.
Please note that neural network responses may not be reliable, inaccurate or irrelevant.
We are not responsible for any consequences associated with the use or reliance on the information provided.
Use the received data at your discretion.
""",
donates_info="""
`AI Talks` collects donations solely for the purpose of paying for the `Open AI` API.
This allows you to provide access to communication with AI for all users.
Support us for joint development and interaction with the intelligence of the future!
""",
tokens_count="Tokens count: ",
message_cost="Message cost: ",
total_cost="Total cost of conversation: ",
empty_api_handler=f"""
API key not found. Create `.streamlit/secrets.toml` with your API key.
See [README.md]({README_URL}) for instructions or use the original [AI Talks]({AI_TALKS_URL}).
""",
)
ru = Locale(
ai_role_options=AI_ROLE_OPTIONS_RU,
ai_role_prefix="Вы девушка",
ai_role_postfix="Отвечай максимально лаконично.",
title="Разговорчики с ИИ",
language="Russian",
lang_code="ru",
donates="Поддержать Проект",
donates1="Россия",
donates2="Остальной Мир",
chat_placeholder="Начните Вашу Беседу с ИИ:",
chat_run_btn="Спросить",
chat_clear_btn="Очистить",
chat_save_btn="Сохранить",
speak_btn="Нажмите и Говорите",
input_kind="Вид ввода",
input_kind_1="Текст",
input_kind_2="Голос [тестовый режим]",
select_placeholder1="Выберите Модель",
select_placeholder2="Выберите Роль",
select_placeholder3="Создайте Роль",
radio_placeholder="Взаимодествие с Ролью",
radio_text1="Выбрать",
radio_text2="Создать",
stt_placeholder="Чтобы Услышать ИИ Нажми Кнопку Проигрывателя",
footer_title="Поддержка и Обратная Связь",
footer_option0="Чат",
footer_option1="Инфо",
footer_option2="Донаты",
footer_chat="Чат Разговорчики с ИИ",
footer_channel="Канал Разговорчики с ИИ",
responsibility_denial="""
`Разговорчики с ИИ` использует API `Open AI` для взаимодействия с `ChatGPT`, ИИ, генерирующим информацию.
Пожалуйста, учтите, что ответы нейронной сети могут быть недостоверными, неточными или нерелевантными.
Мы не несём ответственности за любые последствия,
связанные с использованием или доверием к информации сгенерированныой нейронной сетью.
Используйте полученные данные генераций на своё усмотрение.
""",
donates_info="""
`AI Talks` собирает донаты исключительно с целью оплаты API `Open AI`.
Это позволяет обеспечить доступ к общению с ИИ для всех желающих пользователей.
Поддержите нас для совместного развития и взаимодействия с интеллектом будущего!
""",
tokens_count="Количество токенов: ",
message_cost="оимость сообщения: ",
total_cost="Общая стоимость разговора: ",
empty_api_handler=f"""
Ключ API не найден. Создайте `.streamlit/secrets.toml` с вашим ключом API.
Инструкции см. в [README.md]({README_URL}) или используйте оригинальный [AI Talks]({AI_TALKS_URL}).
""",
)

View File

@ -9,7 +9,7 @@ def show_audio_player(ai_content: str) -> None:
try:
tts = gTTS(text=ai_content, lang=st.session_state.locale.lang_code)
tts.write_to_fp(sound_file)
st.write(st.session_state.locale.stt_placeholder)
st.write("try TTS")
st.audio(sound_file)
except gTTSError as err:
st.error(err)

View File

@ -7,3 +7,6 @@ gtts>=2.3.1
bokeh==2.4.2
streamlit-bokeh-events>=0.1.2
watchdog>=3.0.0
setuptools~=65.5.0
graphviz~=0.20.1
Pillow~=9.5.0

View File

@ -1,34 +0,0 @@
from setuptools import setup, find_packages
# Read the contents of the requirements.txt file
with open("requirements.txt") as f:
requirements = [line.strip() for line in f.readlines() if not line.startswith("-f")]
setup(
name="ai-talks",
version="0.9.1",
packages=find_packages(),
include_package_data=True,
install_requires=requirements, # Use the parsed requirements here
entry_points={
"console_scripts": [
"ai-talks=ai_talks.chat:run_agi",
],
},
author="Dmitry Kosarevsky",
author_email="if.kosarevsky@gmail.com",
description="A ChatGPT API wrapper, providing a user-friendly Streamlit web interface",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/dKosarevsky/AI-Talks",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
keywords="ai agi streamlit streamlit-component chat bot gpt llm",
python_requires=">=3.10",
)

View File

@ -0,0 +1,472 @@
<#
.Synopsis
Activate a Python virtual environment for the current PowerShell session.
.Description
Pushes the python executable for a virtual environment to the front of the
$Env:PATH environment variable and sets the prompt to signify that you are
in a Python virtual environment. Makes use of the command line switches as
well as the `pyvenv.cfg` file values present in the virtual environment.
.Parameter VenvDir
Path to the directory that contains the virtual environment to activate. The
default value for this is the parent of the directory that the Activate.ps1
script is located within.
.Parameter Prompt
The prompt prefix to display when this virtual environment is activated. By
default, this prompt is the name of the virtual environment folder (VenvDir)
surrounded by parentheses and followed by a single space (ie. '(.venv) ').
.Example
Activate.ps1
Activates the Python virtual environment that contains the Activate.ps1 script.
.Example
Activate.ps1 -Verbose
Activates the Python virtual environment that contains the Activate.ps1 script,
and shows extra information about the activation as it executes.
.Example
Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv
Activates the Python virtual environment located in the specified location.
.Example
Activate.ps1 -Prompt "MyPython"
Activates the Python virtual environment that contains the Activate.ps1 script,
and prefixes the current prompt with the specified string (surrounded in
parentheses) while the virtual environment is active.
.Notes
On Windows, it may be required to enable this Activate.ps1 script by setting the
execution policy for the user. You can do this by issuing the following PowerShell
command:
PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
For more information on Execution Policies:
https://go.microsoft.com/fwlink/?LinkID=135170
#>
Param(
[Parameter(Mandatory = $false)]
[String]
$VenvDir,
[Parameter(Mandatory = $false)]
[String]
$Prompt
)
<# Function declarations --------------------------------------------------- #>
<#
.Synopsis
Remove all shell session elements added by the Activate script, including the
addition of the virtual environment's Python executable from the beginning of
the PATH variable.
.Parameter NonDestructive
If present, do not remove this function from the global namespace for the
session.
#>
function global:deactivate ([switch]$NonDestructive) {
# Revert to original values
# The prior prompt:
if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) {
Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt
Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT
}
# The prior PYTHONHOME:
if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) {
Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME
Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME
}
# The prior PATH:
if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) {
Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH
Remove-Item -Path Env:_OLD_VIRTUAL_PATH
}
# Just remove the VIRTUAL_ENV altogether:
if (Test-Path -Path Env:VIRTUAL_ENV) {
Remove-Item -Path env:VIRTUAL_ENV
}
# Just remove VIRTUAL_ENV_PROMPT altogether.
if (Test-Path -Path Env:VIRTUAL_ENV_PROMPT) {
Remove-Item -Path env:VIRTUAL_ENV_PROMPT
}
# Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether:
if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) {
Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force
}
# Leave deactivate function in the global namespace if requested:
if (-not $NonDestructive) {
Remove-Item -Path function:deactivate
}
}
<#
.Description
Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the
given folder, and returns them in a map.
For each line in the pyvenv.cfg file, if that line can be parsed into exactly
two strings separated by `=` (with any amount of whitespace surrounding the =)
then it is considered a `key = value` line. The left hand string is the key,
the right hand is the value.
If the value starts with a `'` or a `"` then the first and last character is
stripped from the value before being captured.
.Parameter ConfigDir
Path to the directory that contains the `pyvenv.cfg` file.
#>
function Get-PyVenvConfig(
[String]
$ConfigDir
) {
Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg"
# Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue).
$pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue
# An empty map will be returned if no config file is found.
$pyvenvConfig = @{ }
if ($pyvenvConfigPath) {
Write-Verbose "File exists, parse `key = value` lines"
$pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath
$pyvenvConfigContent | ForEach-Object {
$keyval = $PSItem -split "\s*=\s*", 2
if ($keyval[0] -and $keyval[1]) {
$val = $keyval[1]
# Remove extraneous quotations around a string value.
if ("'""".Contains($val.Substring(0, 1))) {
$val = $val.Substring(1, $val.Length - 2)
}
$pyvenvConfig[$keyval[0]] = $val
Write-Verbose "Adding Key: '$($keyval[0])'='$val'"
}
}
}
return $pyvenvConfig
}
<# Begin Activate script --------------------------------------------------- #>
# Determine the containing directory of this script
$VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
$VenvExecDir = Get-Item -Path $VenvExecPath
Write-Verbose "Activation script is located in path: '$VenvExecPath'"
Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)"
Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)"
# Set values required in priority: CmdLine, ConfigFile, Default
# First, get the location of the virtual environment, it might not be
# VenvExecDir if specified on the command line.
if ($VenvDir) {
Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values"
}
else {
Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir."
$VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/")
Write-Verbose "VenvDir=$VenvDir"
}
# Next, read the `pyvenv.cfg` file to determine any required value such
# as `prompt`.
$pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir
# Next, set the prompt from the command line, or the config file, or
# just use the name of the virtual environment folder.
if ($Prompt) {
Write-Verbose "Prompt specified as argument, using '$Prompt'"
}
else {
Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value"
if ($pyvenvCfg -and $pyvenvCfg['prompt']) {
Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'"
$Prompt = $pyvenvCfg['prompt'];
}
else {
Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virtual environment)"
Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'"
$Prompt = Split-Path -Path $venvDir -Leaf
}
}
Write-Verbose "Prompt = '$Prompt'"
Write-Verbose "VenvDir='$VenvDir'"
# Deactivate any currently active virtual environment, but leave the
# deactivate function in place.
deactivate -nondestructive
# Now set the environment variable VIRTUAL_ENV, used by many tools to determine
# that there is an activated venv.
$env:VIRTUAL_ENV = $VenvDir
if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) {
Write-Verbose "Setting prompt to '$Prompt'"
# Set the prompt to include the env name
# Make sure _OLD_VIRTUAL_PROMPT is global
function global:_OLD_VIRTUAL_PROMPT { "" }
Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT
New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt
function global:prompt {
Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) "
_OLD_VIRTUAL_PROMPT
}
$env:VIRTUAL_ENV_PROMPT = $Prompt
}
# Clear PYTHONHOME
if (Test-Path -Path Env:PYTHONHOME) {
Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
Remove-Item -Path Env:PYTHONHOME
}
# Add the venv to the PATH
Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH
$Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH"
# SIG # Begin signature block
# MIIpigYJKoZIhvcNAQcCoIIpezCCKXcCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBnL745ElCYk8vk
# dBtMuQhLeWJ3ZGfzKW4DHCYzAn+QB6CCDi8wggawMIIEmKADAgECAhAIrUCyYNKc
# TJ9ezam9k67ZMA0GCSqGSIb3DQEBDAUAMGIxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xITAfBgNV
# BAMTGERpZ2lDZXJ0IFRydXN0ZWQgUm9vdCBHNDAeFw0yMTA0MjkwMDAwMDBaFw0z
# NjA0MjgyMzU5NTlaMGkxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5EaWdpQ2VydCwg
# SW5jLjFBMD8GA1UEAxM4RGlnaUNlcnQgVHJ1c3RlZCBHNCBDb2RlIFNpZ25pbmcg
# UlNBNDA5NiBTSEEzODQgMjAyMSBDQTEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw
# ggIKAoICAQDVtC9C0CiteLdd1TlZG7GIQvUzjOs9gZdwxbvEhSYwn6SOaNhc9es0
# JAfhS0/TeEP0F9ce2vnS1WcaUk8OoVf8iJnBkcyBAz5NcCRks43iCH00fUyAVxJr
# Q5qZ8sU7H/Lvy0daE6ZMswEgJfMQ04uy+wjwiuCdCcBlp/qYgEk1hz1RGei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used with "source bin/activate" *from bash*
# you cannot run it directly
deactivate () {
# reset old environment variables
if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then
PATH="${_OLD_VIRTUAL_PATH:-}"
export PATH
unset _OLD_VIRTUAL_PATH
fi
if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then
PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
export PYTHONHOME
unset _OLD_VIRTUAL_PYTHONHOME
fi
# This should detect bash and zsh, which have a hash command that must
# be called to get it to forget past commands. Without forgetting
# past commands the $PATH changes we made may not be respected
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then
hash -r 2> /dev/null
fi
if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then
PS1="${_OLD_VIRTUAL_PS1:-}"
export PS1
unset _OLD_VIRTUAL_PS1
fi
unset VIRTUAL_ENV
unset VIRTUAL_ENV_PROMPT
if [ ! "${1:-}" = "nondestructive" ] ; then
# Self destruct!
unset -f deactivate
fi
}
# unset irrelevant variables
deactivate nondestructive
VIRTUAL_ENV="C:\Users\riraa\PycharmProjects\AI-Talks\vAI-Talks"
export VIRTUAL_ENV
_OLD_VIRTUAL_PATH="$PATH"
PATH="$VIRTUAL_ENV/Scripts:$PATH"
export PATH
# unset PYTHONHOME if set
# this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
# could use `if (set -u; : $PYTHONHOME) ;` in bash
if [ -n "${PYTHONHOME:-}" ] ; then
_OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
unset PYTHONHOME
fi
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then
_OLD_VIRTUAL_PS1="${PS1:-}"
PS1="(vAI-Talks) ${PS1:-}"
export PS1
VIRTUAL_ENV_PROMPT="(vAI-Talks) "
export VIRTUAL_ENV_PROMPT
fi
# This should detect bash and zsh, which have a hash command that must
# be called to get it to forget past commands. Without forgetting
# past commands the $PATH changes we made may not be respected
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then
hash -r 2> /dev/null
fi

View File

@ -0,0 +1,34 @@
@echo off
rem This file is UTF-8 encoded, so we need to update the current code page while executing it
for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do (
set _OLD_CODEPAGE=%%a
)
if defined _OLD_CODEPAGE (
"%SystemRoot%\System32\chcp.com" 65001 > nul
)
set VIRTUAL_ENV=C:\Users\riraa\PycharmProjects\AI-Talks\vAI-Talks
if not defined PROMPT set PROMPT=$P$G
if defined _OLD_VIRTUAL_PROMPT set PROMPT=%_OLD_VIRTUAL_PROMPT%
if defined _OLD_VIRTUAL_PYTHONHOME set PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%
set _OLD_VIRTUAL_PROMPT=%PROMPT%
set PROMPT=(vAI-Talks) %PROMPT%
if defined PYTHONHOME set _OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%
set PYTHONHOME=
if defined _OLD_VIRTUAL_PATH set PATH=%_OLD_VIRTUAL_PATH%
if not defined _OLD_VIRTUAL_PATH set _OLD_VIRTUAL_PATH=%PATH%
set PATH=%VIRTUAL_ENV%\Scripts;%PATH%
set VIRTUAL_ENV_PROMPT=(vAI-Talks)
:END
if defined _OLD_CODEPAGE (
"%SystemRoot%\System32\chcp.com" %_OLD_CODEPAGE% > nul
set _OLD_CODEPAGE=
)

BIN
vAI-Talks/Scripts/bokeh.exe Normal file

Binary file not shown.

View File

@ -0,0 +1,22 @@
@echo off
if defined _OLD_VIRTUAL_PROMPT (
set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
)
set _OLD_VIRTUAL_PROMPT=
if defined _OLD_VIRTUAL_PYTHONHOME (
set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
set _OLD_VIRTUAL_PYTHONHOME=
)
if defined _OLD_VIRTUAL_PATH (
set "PATH=%_OLD_VIRTUAL_PATH%"
)
set _OLD_VIRTUAL_PATH=
set VIRTUAL_ENV=
set VIRTUAL_ENV_PROMPT=
:END

BIN
vAI-Talks/Scripts/f2py.exe Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
vAI-Talks/Scripts/pip.exe Normal file

Binary file not shown.

Binary file not shown.

BIN
vAI-Talks/Scripts/pip3.exe Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,16 @@
rem Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022)
rem
rem Licensed under the Apache License, Version 2.0 (the "License");
rem you may not use this file except in compliance with the License.
rem You may obtain a copy of the License at
rem
rem http://www.apache.org/licenses/LICENSE-2.0
rem
rem Unless required by applicable law or agreed to in writing, software
rem distributed under the License is distributed on an "AS IS" BASIS,
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the specific language governing permissions and
rem limitations under the License.
@echo OFF
python -m streamlit %*

Binary file not shown.

BIN
vAI-Talks/Scripts/tqdm.exe Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,5 @@
{
"load_extensions": {
"pydeck/extension": true
}
}

3
vAI-Talks/pyvenv.cfg Normal file
View File

@ -0,0 +1,3 @@
home = C:\Users\riraa\AppData\Local\Programs\Python\Python310
include-system-site-packages = false
version = 3.10.9

View File

@ -0,0 +1,15 @@
/* eslint-disable */
define(function() {
'use strict';
requirejs.config({
map: {
'*': {
'@deck.gl/jupyter-widget': 'nbextensions/pydeck/index'
}
}
});
// Export the required load_ipython_extension function
return {
load_ipython_extension: function() {}
};
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long