you should see in result something like ,{"type":"image_url","image_url":{"url":"https://mysite.com/uploads/default/original/2X/b/b450e963a7e5c9515533940a40b2a3bec37d.jpeg"}}]}
Control-click on image url in the result and confirm it loads. If not share the URL with me, it might not be well formed. If you canât control click copy and paste into browser to check validity of URL. Let me know if the image loads.
Also share with me the text in âinner thoughtsâ
Confirm which chatbot_support_vision setting you are using via_function or directly
Iâve already noticed the prompts for vision function might be improved but Iâm not convinced thatâs your issue. Iâll know more when you revert with that info.
This is very interesting, I tried it after configuring cdn s3 and it worked without any problems. I think the problem is related to the image url. Thank you for your time, I activated it again, I look forward to its development.
Iâm encountering an issue while trying to install the plugin. The installation process fails during the database migration step, and the following errors are logged:
Initial Error during Migration:
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 688 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
Specific PostgreSQL Error:
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled: (StandardError)
PG::UndefinedObject: ERROR: access method "hnsw" does not exist
Could you provide any insights or requirements related to this plugin, especially concerning the PostgreSQL setup? Additionally, is there anything specific that I need to adjust in the app.yml file or elsewhere to ensure a successful installation?
Iâve been retaining discretion to explore my own strategy here and evolve the plugin independently
Discourse AI was using a different granularity for a long time I believe.
Not something I have any bandwidth for unfortunately. Might consider a PR providing that as an option but suspect thatâs a lot of work.
I suspect hard to justify from a cost and time perspective as embeddings are so cheap and quick to generate (relatively to the actual completions calls?)
Try changing the system prompt. Add something like âanswer in the same language as the questionâ or âanswer in Spanishâ. Note there are four system prompts. Two each for private and public messages.
Hello friend, thank you very much for your response. where do I make that prompt? I am using it to respond to topic messages automatically, and I cannot write that prompt in each topic individually. In the settings, I canât find the option to add that prompt
I have put System Prompt or Prompt Engineering in the search engine of the section that indicates (All modified in Admin â Customize â Text
) and shows no result; However, if I enter âPromptâ, many results appear; Would you know which one I try? since I would not want the forum to be damaged by editing the invalid file
Iâm still trying, since I changed both this file and others, and it still appears in English.
It should be noted that I want it to respond to posts on new topics created.
Iâm expecting it to use the âdefault languageâ when it picks the language.
Thatâs odd that it chooses the english translations on a Spanish install.
Because Iâm a one-man dev on this I chose to use the text customisation system as this provides an out of the box way of allowing end user admins to be able to change this text. This adds a little bit of confusion, thanks for your patience.
System prompts should be written in english. Same or similar situation than with DallE â otherwise prompt will be translated in english on OpenAIâs end and it may, or will, change to something really diffrent.
I used this, but it will change because I have plan to use Chatbot bit differently.
You are a helpful assistant. You have great tools in the form of functions that give you the power to get newer information. Only use the functions you have been provided with. The current date and time is %{current_date_time}. When referring to users by name, include an @ symbol directly in front of their username. Only respond to the last question, using the prior information as context, if appropriate. Use finnish everytime it is possible. Please provide concise and informative responses to user inquiries. Use available resources, including local forum content and external tools, to gather information. Responses should be limited to a maximum of four paragraphs without unnecessary introductions, greetings, or fillers. Ensure answers are relevant and helpful, akin to forum responses.