Code Monkey home page Code Monkey logo

chatfaq / chatfaq Goto Github PK

View Code? Open in Web Editor NEW
88.0 6.0 7.0 7.33 MB

Elevate user interactions with ChatFAQ: your open-source chatbot solution, offering the full spectrum of ChatGPT capabilities. AI + LLM + CMS

Home Page: https://www.chatfaq.io/

Dockerfile 0.52% Makefile 0.17% Python 68.97% Shell 0.06% Vue 23.81% SCSS 3.52% JavaScript 2.76% TypeScript 0.18%
ai chatbots intent-detection llm nlg open-source chatgpt answer-generation gpt4 information-retrieval

chatfaq's Issues

CLI upload dataset

  1. poetry run python cli/__init__.py datasets --help
  2. poetry run python cli/__init__.py datasets create <NAME> <PATH/TO.CSV>

CLI init first time

I see the comand chatfaq --help in the READ.ME but I don't know where I could write this command, how can I open the CLI for the first time?

Issue with apply_fixtures

Hello !
Following the installation guide, once i get to:

docker compose -f docker-compose.yaml -f docker-compose.vars.yaml run back poetry run make apply_fixtures

i get the following error constantly:

Traceback (most recent call last):
File "/.venv/lib/python3.10/site-packages/django/db/models/options.py", line 669, in get_field
return self.fields_map[field_name]
KeyError: 'disabled'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/.venv/lib/python3.10/site-packages/django/core/serializers/json.py", line 70, in Deserializer
yield from PythonDeserializer(objects, **options)
File "/.venv/lib/python3.10/site-packages/django/core/serializers/python.py", line 130, in Deserializer
field = Model._meta.get_field(field_name)
File "/.venv/lib/python3.10/site-packages/django/db/models/options.py", line 671, in get_field
raise FieldDoesNotExist(
django.core.exceptions.FieldDoesNotExist: RAGConfig has no field named 'disabled'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "//manage.py", line 21, in
main()
File "//manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/.venv/lib/python3.10/site-packages/django/core/management/init.py", line 446, in execute_from_command_line
utility.execute()
File "/.venv/lib/python3.10/site-packages/django/core/management/init.py", line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/.venv/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
self.execute(*args, **cmd_options)
File "/.venv/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
output = self.handle(*args, **options)
File "/.venv/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 102, in handle
self.loaddata(fixture_labels)
File "/.venv/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 163, in loaddata
self.load_label(fixture_label)
File "/.venv/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 251, in load_label
for obj in objects:
File "/.venv/lib/python3.10/site-packages/django/core/serializers/json.py", line 74, in Deserializer
raise DeserializationError() from exc
django.core.serializers.base.DeserializationError: Problem installing fixture '/back/apps/language_model/fixtures/initial.json':
make: *** [Makefile:30: apply_fixtures] Error 1

Meanwhile, the field very much exists:

{ "model": "language_model.ragconfig", "pk": 1, "fields": { "created_date": "2024-04-19T13:21:54.275", "updated_date": "2024-04-19T13:21:54.275", "name": "default", "knowledge_base": 1, "llm_config": 1, "prompt_config": 1, "generation_config": 1, "retriever_config": 1, "disabled": false, "s3_index_path": null, "index_status": "no_index" } }

I am confused and ask for help.

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.