Open magedhelmy1 opened 1 year ago
Only one OpenAI API and Azure OpenAI API key needs to be selected. If OPENAI_TYPE=OPENAI is selected, OPENAI_API_KEY needs to be provided; if AZURE_OPENAI is selected, other environment variables related to AZURE_OPENAI are required. Of course, you can also choose not to enter the environment variables and input them on the front-end page. and this is an open source project and we cannot provide free OpenAPI services.
If you deploy the OpenAI Service in Azure, it will create an instance resource with an instance name, and then you can choose to deploy different models, such as gpt-3.5-turbo, text-embeddings, and other different models. Each deployed model will get a deployment name. In the production environment of ChatFiles, AZURE_OPENAI_API_DEPLOYMENT_NAME deploys the gpt-3.5-turbo model, and AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME deploys the text-embedding-ada-002 model.
This repository mainly focuses on uploading files and providing AI Q&A services, similar to current websites such as ChatPDF, but VectorHub will provide more capabilities, such as GPT embedding based on webpage URLs, helps you build a platform for chat with knowledge bases AI based on your data. and more AI scenarios such as AI search and SDK & API integrating with your website will be supported in the future.
Interesting! Thank you and I ran into the following bug. Basically, when I type without submitting a file.
Yes, this is a known bug. Sometimes it outputs information in this format and is not very stable. It's related to LangChian Bug, and I will try to fix it.
Thank you for creating a ticket! I shall close this ticket then since you are tracking it from somewhere else. Thanks again and keep the good work up!
I saw Github moved this automatically to close! So I reopened it just in case!
Do you know where does it get the below message from? Although I have send an empty message (AKA single space click) I am trying to think how can we workaround this bug.
This is because I used the default Prompt of LangChain.JS framework, which carries default messages such as HumanMessage and SystemMessage. The reason why GPT previously returned JSON fixed format instead of String was also due to this reason. I am currently fixing this issue.
Hi, can you please give an explanation on