chatfaq / chatfaq Goto Github PK
View Code? Open in Web Editor NEWElevate 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/
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/
Which version I need to have to execute CLI?
poetry run python cli/__init__.py datasets --help
poetry run python cli/__init__.py datasets create <NAME> <PATH/TO.CSV>
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.