Giter VIP home page Giter VIP logo

digiteinfotech / kairon Goto Github PK

View Code? Open in Web Editor NEW
246.0 246.0 76.0 157.54 MB

Conversational AI Platform to build effective Proactive Digital Assistants using Visual LLM Chaining

Home Page: https://kairon.nimblework.com/bots

License: Apache License 2.0

Python 97.53% Batchfile 0.01% Shell 0.01% HTML 2.43% Dockerfile 0.03%
bot bot-framework botkit bots chatbot chatbot-framework chatbots conversational-agents conversational-ai conversational-bots gpt-3-5-turbo llm machine-learning machine-learning-library natural-language-understanding nlp nlu rasa rasa-nlu spacy

kairon's Issues

docker compose

Hi Team getting the following error
[+] Running 13/13
✘ kairon-worker Error context canceled 1.0s
✘ kairon-history-server Error context canceled 1.0s
✘ kairon-chat Error context canceled 1.0s
✘ duckling Error context canceled 1.0s
✘ kairon-script-executor Error context canceled 1.0s
✘ kairon-action-server Error context canceled 1.0s
✘ kairon-paraphrase Error context canceled 1.0s
✘ kairon-event-server Error context canceled 1.0s
✘ kairon-live-agent Error Head "https://730423251530.dkr... 1.0s
✘ kairon-api Error context canceled 1.0s
✘ kairon-question-generation Error context canceled 1.0s
✘ kairon-ui Error context canceled 1.0s
✘ mongo Error context canceled 1.0s
Error response from daemon: Head "https://730423251530.dkr.ecr.us-east-1.amazonaws.com/v2/kairon-live-agent/manifests/152905": no basic auth credentials

Knowledge Graphs

  • Sentence Extraction for document
    • Triplet Extraction
    • Graph Formation
    • Graph Traversal Logic
    • Domain Augmentation

Api action

Hello all
how can I create an API action? I don't see any doc or any example for it

I get this error :

The fields "{'headers'}" do not exist on the document "HttpActionConfig"

I have this simple get request https://61e13d1463f8fc0017618ac5.mockapi.io/test/akbar
and the response will be :

{
"key_test": "value_test"
}

I have one Rule which I want to use this api action. So which fields Should I fill.
in api action there are : Action name | request_type | Headers | Body | Response
How should I fill these parts

Docker Images does not exist - kairon-history-server and kairon-chat

Operating System: Linux Ubuntu 21.04
Running command: docker-compose up -d

Result:

Pulling kairon-question-generation (digite/kairon-question-generation:latest)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN]y
Pulling kairon-question-generation (digite/kairon-question-generation:latest)...
ERROR: pull access denied for digite/kairon-question-generation, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Response empty with only Q&A

Hi Guys, i hope you can help me with a situation that is occurring when I call the /chat end-point. When i call the end-point, the response is always empty and I really don't know why.

Response:
{ "success": true, "message": null, "data": { "nlu": { "text": "Hi", "intent": { "id": -5668266704242435470, "name": "greet", "confidence": 0.9999999403953552 }, "entities": [], "intent_ranking": [ { "id": -5668266704242435470, "name": "greet", "confidence": 0.9999999403953552 }, { "id": -1894405930850988402, "name": "new", "confidence": 6.276561492768451e-08 }, { "id": -6269350766581444242, "name": "bye", "confidence": 2.6635090577542542e-08 } ], "response_selector": { "all_retrieval_intents": [], "default": { "response": { "id": null, "responses": null, "response_templates": null, "confidence": 0.0, "intent_response_key": null, "utter_action": "utter_None", "template_name": "utter_None" }, "ranking": [] } } }, "action": [ { "action_name": "utter_greet", "max_confidence": 0.9937130212783813, "policy_name": "policy_1_TEDPolicy" }, { "action_name": "action_listen", "max_confidence": 0.9982038140296936, "policy_name": "policy_1_TEDPolicy" } ], "response": [], "slots": [ "doc_url: None", "document: None", "video: None", "audio: None", "image: None", "order: None", "kairon_action_response: None", "bot: 65985df50ac8038d3104f6ae", "session_started_metadata: {'tabname': 'default', 'is_integration_user': False, 'bot': '65985df50ac8038d3104f6ae', 'account': 2, 'channel_type': 'chat_client'}" ], "events": null, "tabname": "default", "agent_handoff": { "initiate": false, "type": null, "additional_properties": null } }, "error_code": 0 }

image
image
image

Could you help-me with this issue?

Thank you very much.

ReadMe Questions and Concerns that need research

Questions Regarding Our Project that need researching for better information and access

  • Can we use RASA in our project Name ? Research RASA community guidelines

  • Naming Candidates for Project - RASA Rishi , RASA Sensei , RASA DX - need ideas here

  • Which License should we choose ?

CI/CD pipeline

Create basic CI/CD Pipeline for Repo

  • Create Docker Image with build number in versioning.
  • Push it to Docker hub
  • Find out a way to update documentation of Docker Hub as a CI/CD pipeline.

RTL support for texts

Hi
On the kairon website When I want to label my entities ( when highlighting the specific word ) it will not work properly. for example, look at this example. The text loses its word order. this is because the textarea tag in your webpage does not support RTL texts.

1
it should be :

محل کارم [مرکز تهران] (tehran_district) شده. اونجاها کجا میشه قهوه [عربیکا] (coffee_type) خوب خرید

github textarea support RTL . :)

will you support this feature soon?

Video Demo

Could you put a video demo or images so we know what the system looks like before we go through the process of deploying it.

Email notifications?

When a conversation begins. When someone submits something (assuming forms can be filled using the bot). Based on certain keywords the visitor types in.

Strict Bot Training

if the particular bot is getting trained then no other user must be able to trigger training, till the previous training session is completed

Cannot docker compose

Operating System: Windows

Running command: docker-compose up -d

Result:

Pulling kairon-question-generation (digite/kairon-question-generation:latest)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN]y
Pulling kairon-question-generation (digite/kairon-question-generation:latest)...
ERROR: pull access denied for digite/kairon-question-generation, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

GPU support on event worker

Hi,

As discussed with Fahad on discord - the kairon worker is using CPU and not GPU inside the docker container.

I ran some tests to make sure it wasn't a problem on my side;

version: "3"
services:
  test:
    image: tensorflow/tensorflow:latest-gpu
    command: python -c "import tensorflow as tf;tf.test.gpu_device_name()"
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]

and

services:
  test:
    image: nvidia/cuda:10.2-base
    command: nvidia-smi
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]

Both worked fine and detected my GPU

I added the same config to kairon-worker;

    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]

but this did not seem to make a difference.

I inquired to check the Dockerfile for the worker, and noticed that there are no packages installed or drivers for the image.

Found some steps here for someone to implement;
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa-start-nccl-base.html

GET http://kairon-chat:5000/api/bot/6526d1e07776256c76530d47/conversation net::ERR_NAME_NOT_RESOLVED

"I have deployed Kairon on a Windows operating system, but when I try to run a chat in the chat box, I encounter the following errors:

GET http://kairon-chat:5000/api/bot/6526d1e07776256c76530d47/conversation net::ERR_NAME_NOT_RESOLVED
POST http://localhost:8000/api/bot/6526d1e07776256c76530d47/metric/user/logs/user_metrics net::ERR_CONNECTION_REFUSED
Can anyone help me understand and resolve these [issues?"[]
20dedde159ac8ef2d7bd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.