Code Monkey home page Code Monkey logo

chatgee's Introduction

ChatGee 챗지 AI 챗봇 빌더

카카오톡 AI 챗봇 챗지 빌더 🥳🎉

  • 챗지 챗봇의 성격, 역할, 내용을 프롬프트로 직접 디자인 가능🎉🎉

  • 내용 기입, 실행파일 실행, 챗봇 설정만으로 코딩 몰라도 가능🎉🎉

  • 기본 포함기능

    • 사용설명서 카드페이지 표시 📓 사용설명서
    • 대화내용 삭제 기능 💫 새로운 시작
  • 카카오톡 채널이 요구하는 5초내 응답조건 대응

    • 5초 내 응답하지 못하면 '생각중'이라는 답을 우선 송신
    • 사용자가 다시 요청 시, DB에 저장된 답변을 송신
  • GPTers의 AI 챗봇 개발실과 함께합니다

  • 이모든걸 해드리고 GPTs도 연동하는 것도 있습니다!

📖 ChatGee 사용설명서

사용설명서 바로가기 : 📖 ChatGee 사용설명서


License

This work is open sourced under the BSD 4-Clause "Original" or "Old" License.

상업적 사용 가능, 수정, 배포 가능, 저작권 표기 필수

본 ChatGee 라이브러리가 사용되었음을 모든 광고물 및 수정, 배포, 상업판에 표기 필수

Copyright 2023 ChatGee; Woen-Sug Choi

chatgee's People

Contributors

woensug-choi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chatgee's Issues

안녕하세요 질문이 있습니다!

안녕하세요.
큰 도움 받고 있습니다 : )

질문이 하나 있는데
callback 세팅 후

  1. 운동 할래 번역해줘
  2. 수영 할래 번역해줘
  3. 춤출래 번역해줘

이렇게 3가지의 질문을 동시에 했을 때

  1. 운동 할래에 대한 번역
  2. 운동 할래에 대한 번역
  3. 운동 할래에 대한 번역
    같은 질문에 다른 답변들이 저장이 되면서
    맨 처음 답변에 대한 답변만 채팅으로 오는데 어디 부분을 수정하면 될까요??

윈도우에 설치 후 IP로 접근해 글쓰면 연결 에러나는데 어떻게 해야 할까요?

ConnectionError
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=6959): Max retries exceeded with url: /prompt (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002592A439450>: Failed to establish a new connection: [WinError 10061] 대상 컴퓨터에서 연결을 거부했으므로 연결하지 못했습니다'))

Traceback (most recent call last)
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\urllib3\connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\urllib3\util\connection.py", line 95, in create_connection
raise err
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
sock.connect(sa)
During handling of the above exception, another exception occurred:
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\urllib3\connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\urllib3\connection.py", line 244, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "C:\Users\eTL\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\eTL\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\eTL\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\eTL\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1037, in _send_output
self.send(msg)
File "C:\Users\eTL\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 975, in send
self.connect()
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\urllib3\connection.py", line 205, in connect
conn = self._new_conn()
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\urllib3\connection.py", line 186, in _new_conn
raise NewConnectionError(
During handling of the above exception, another exception occurred:
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\requests\adapters.py", line 489, in send
resp = conn.urlopen(
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
During handling of the above exception, another exception occurred:
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\flask\app.py", line 2551, in __call__
return self.wsgi_app(environ, start_response)
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\flask\app.py", line 2531, in wsgi_app
response = self.handle_exception(e)
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\flask\app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "C:\ChatGee-main\chatgee\run_server.py", line 59, in local_query
response = send_query_local(query, ChatGee_Config)
File "C:\ChatGee-main\chatgee\base\utility.py", line 86, in send_query_local
response = requests.post(url, json=data)
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\requests\api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\requests\sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\requests\sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "C:\ChatGee-main\venv_chatgee\lib\site-packages\requests\adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=6959): Max retries exceeded with url: /prompt (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002592A439450>: Failed to establish a new connection: [WinError 10061] 대상 컴퓨터에서 연결을 거부했으므로 연결하지 못했습니다'))
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.

초보자모드로 배포 후 서버가 금방 꺼지는 문제가 있습니다.

너무 잘 이용했습니다.

  1. 대화 입력 후
    "죄송해요 🙇🙇🙇
    생각이 길어지고 있어요 🤔💭
    잠시후 아래 말풍선을 눌러주세요"
    라는 문장이 자주 나옵니다.
    원인은
    서버가 꺼진경우,
    답변 받아오는게 늦어진 경우,로 추정됩니다.

서버를 오래 유지하는 방법,
답변 받아오는 시간을 길게 만드려면
settings.yami 에서RESPONSE_SAFE_TIME: 3.4를 조정하면 될까요?
RESPONSE_SAFE_TIME: 3.4

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.