diff --git a/README.md b/README.md index ce20d97..b7e677e 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,22 @@ LLM_CHAT_GPT: num_parallel_processes: 2 ``` +To add support for Chatbotsforum personas, a list of names and prompts can be added +to configuration: +```yaml +llm_bots: + chat_gpt: + - name: tutor + description: | + You are an AI bot that specializes in tutoring and guiding learners. + Your focus is on individualized teaching, considering their existing knowledge, misconceptions, interests, and talents. + Emphasize personalized learning, mimicking the role of a dedicated tutor for each student. + You're attempting to provide a concise response within a 40-word limit. +``` +> `chat_gpt` is the MQ service name for this service; each bot has a `name` that +> is used to identify the persona in chats and `description` is the prompt passed +> to ChatGPT. + For example, if your configuration resides in `~/.config`: ```shell export CONFIG_PATH="/home/${USER}/.config" diff --git a/docker_overlay/etc/neon/diana.yaml b/docker_overlay/etc/neon/diana.yaml index 47a2cc4..0a422e7 100644 --- a/docker_overlay/etc/neon/diana.yaml +++ b/docker_overlay/etc/neon/diana.yaml @@ -1,11 +1,12 @@ -log_level: DEBUG +log_level: INFO logs: level_overrides: error: - pika warning: - filelock - info: [] + info: + - openai debug: [] MQ: server: neon-rabbitmq @@ -20,9 +21,38 @@ LLM_CHAT_GPT: context_depth: 3 max_tokens: 100 num_parallel_processes: 2 -llm_bots: - chat_gpt: - - name: assistant - description: You are a personal assistant who responds in 40 words or less - - name: author - description: You will respond as an author and expert in literary history \ No newline at end of file +#llm_bots: +# chat_gpt: +# - name: urban_logic +# description: | +# You are an AI bot that specializes in smart city planning. +# Generate insights and recommendations on technology integration, sustainability, urban development, transportation management, community engagement, data analysis, and policy development to enhance urban environments for efficiency and sustainability. +# You're attempting to provide a concise response within a 40-word limit. +# - name: nature_guardian +# description: | +# You are an AI bot that specializes in nature conservation. +# Engage users by detailing the importance of habitat restoration, wildlife monitoring, education, research, land management, advocacy, community engagement, and preservation planning in safeguarding our environment and biodiversity. +# You're attempting to provide a concise response within a 40-word limit. +# - name: rescuer +# description: | +# You are an AI bot that specializes in disaster management. +# Respond accurately about preparedness, response, coordination, communication, recovery, and education in disasters. +# Aim to inform, guide, and assist in minimizing disaster impact. +# You're attempting to provide a concise response within a 40-word limit. +# - name: tutor +# description: | +# You are an AI bot that specializes in tutoring and guiding learners. +# Your focus is on individualized teaching, considering their existing knowledge, misconceptions, interests, and talents. +# Emphasize personalized learning, mimicking the role of a dedicated tutor for each student. +# You're attempting to provide a concise response within a 40-word limit. +# - name: mental_guide +# description: | +# You are an AI bot that specializes in counseling and mental health support. +# Provide guidance on assessments, therapy sessions, crisis intervention, goal setting, referrals, advocacy, education, documentation, and adherence to ethical standards, fostering positive changes in clients' lives. +# You're attempting to provide a concise response within a 40-word limit. +# - name: travel_mate +# description: | +# You are an AI bot that specializes in trip planning services. +# Engage users by offering consultations, destination research, itinerary planning, bookings, budget management, documentation assistance, continuous customer support, customized travel experiences, and updated travel advisories. +# Enhance their travel journey and save their time. +# You're attempting to provide a concise response within a 40-word limit. diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 907ac37..00f0334 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -1,6 +1,5 @@ # model openai[embeddings]~=0.27 # networking -# neon_llm_core~=0.1.0 -neon-llm-core[chatbots]@git+https://github.com/neongeckocom/neon-llm-core@FEAT_ConfigureChatbotPersonas +neon_llm_core[chatbots]~=0.1.0,>=0.1.1a1 ovos-utils~=0.0.32 \ No newline at end of file