Giter Club home page Giter Club logo

Comments (26)

JuergenCornely avatar JuergenCornely commented on August 30, 2024 1

That was the hint that i need. Can confirm that it is working.... Thanks a lot @lvalics...........

from openchat.

lvalics avatar lvalics commented on August 30, 2024

I worked in the search but I donțt think it was yet made a push. I hope will work.
The URL is hardcoded in search.js, I changed now to be default http://0.0.0.0:8000 but aslyou you can overwrite from JS script. Example here: https://victoury.be/1.html

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

Sorry not on my system. The search js was autofilled with https://myserver.mydom.de/api..
i have tried with :800 or Api or static or.....

from openchat.

lvalics avatar lvalics commented on August 30, 2024

What I have done I think was not yet pushed yet. Let me check.

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

Thanks
i ll wait @

from openchat.

lvalics avatar lvalics commented on August 30, 2024

Yeah, I found the issues, It was pushed the hardocoded version. Edit the search.js temporary look for baseURL:"https://____ /api"} and change it.

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

if changed the base URL from https://myserver.mydom.de/api. to: http://0.0.0.0:8000/ without succsess. At hte Chat,js it works with this config..

Ill fetch the search from the hardcoded Version a try it..

from openchat.

lvalics avatar lvalics commented on August 30, 2024

You need to change in search.js the baseURL:"https:// and the URL from there change it to your URL, https://myserver.mydom.de/ and will work. The next version will not need anymore the URL from inside. It will be controlled from JavaScript.

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

no that doesnt work it tried it.. Axios Error 404

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

i think i ve to wait for the next version

from openchat.

lvalics avatar lvalics commented on August 30, 2024

Maybe the guys will have time today to push the new version and I hope you will like it.

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

By the way you all do a very great Job here. And it is very great what this tool can do!!!!!

from openchat.

lvalics avatar lvalics commented on August 30, 2024

You have a showcase ? We would like to know where people are using the software.

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

I ll make some features public so youn can acsses it. For the Integration in on of our Plattfor if mad ill send you a Video.. Ill tri it tomorrow

from openchat.

lvalics avatar lvalics commented on August 30, 2024

Update was merged.

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

I m trying, container Web make some Problems i m analysing it

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

image
Key Error with secrety Key?

from openchat.

lvalics avatar lvalics commented on August 30, 2024

In your .env add a line

SECRET_KEY='yourkey here to be secret.'

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

Here are 2 Short Videos about my internal Testintegration for Openchat

UC1.mp4
Webseite1.mp4

from openchat.

lvalics avatar lvalics commented on August 30, 2024

Nice ... on Chat now you have Is this response was usefull, YES/NO and it is working, marking into database for the moment.
I want to implement on search as well to mark it to DB, then on admin to see which wanswers was ok and which not to finetune the prompt.

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

i got it with the latest update this week, but i made teh Video before.... By the way i ve another Quetion:

I ve made a integration lonnger time ago into another Software not Based on Openchat where i send a axios request to Openai to get a answer .. Can i acsess Openchat via axios to ask the system and get a answer ?

from openchat.

lvalics avatar lvalics commented on August 30, 2024

I do not have knowledge in axios, so I cannot help you on this. Sorry.

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

It s okay axios isnt the problem i dont know how i can connect with openchat api from external system..

from openchat.

lvalics avatar lvalics commented on August 30, 2024

https://yourdomain.com/api/chat/ etc, check api/urls.py for API part. I am working on this to do it easier to understand it.
Also try in browser, /api/schema/swagger-ui/ /api/schema/redoc/

from openchat.

JuergenCornely avatar JuergenCornely commented on August 30, 2024

You have integrated swagger... I think thats all i need to get it working

from openchat.

lvalics avatar lvalics commented on August 30, 2024

Partially. Still need to add all the endpoints, but had no time yet. So if you add, let me know, we will merge it.

from openchat.

Related Issues (20)

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.