Closed nikschulte closed 7 months ago
I have the same: the error: "The GET method is not supported for route chat/(*)/send-message. Supported methods: POST."
Can you share the logs of of your openchat setup?
2023-06-06 10:57:28 openchat-llm-server-1 | wait - compiling /api/chat (client and server)... 2023-06-06 10:57:28 openchat-llm-server-1 | event - compiled successfully in 354 ms (46 modules) 2023-06-06 10:57:29 openchat-llm-server-1 | req.body { 2023-06-06 10:57:29 openchat-llm-server-1 | question: 'test', 2023-06-06 10:57:29 openchat-llm-server-1 | history: [ 'test' ], 2023-06-06 10:57:29 openchat-llm-server-1 | namespace: 'f6f6c87a-6796-4a57-b592-b2498bcfc42d', 2023-06-06 10:57:29 openchat-llm-server-1 | mode: 'assistant' 2023-06-06 10:57:29 openchat-llm-server-1 | } 2023-06-06 10:57:29 openchat-llm-server-1 | { 2023-06-06 10:57:29 openchat-llm-server-1 | question: 'test', 2023-06-06 10:57:29 openchat-llm-server-1 | history: [ 'test' ], 2023-06-06 10:57:29 openchat-llm-server-1 | namespace: 'f6f6c87a-6796-4a57-b592-b2498bcfc42d', 2023-06-06 10:57:29 openchat-llm-server-1 | mode: 'assistant' 2023-06-06 10:57:29 openchat-llm-server-1 | } 2023-06-06 10:57:33 openchat-llm-server-1 | error [ErrorWithoutStackTrace: PineconeClient: Error calling query: ErrorWithoutStackTrace: PineconeClient: Error calling queryRaw: FetchError: The request failed and the interceptors did not return an alternative response]
I am getting this too
2023-06-06 04:35:14 error [ErrorWithoutStackTrace: PineconeClient: Error calling query: ErrorWithoutStackTrace: PineconeClient: Error calling queryRaw: FetchError: The request failed and the interceptors did not return an alternative response]
maybe pinecone env files setup wrong?
Same Error 500:
sendMessage
http://localhost:8000/chat/jmKox7RXJU4slrph8Cr6:197:18
onclick
http://localhost:8000/chat/jmKox7RXJU4slrph8Cr6:1:1
Same Error 500
$response = Http::timeout(200)->post("http://llm-server:3000/api/chat", [ 'question' => $question, 'history' => $history, 'namespace' => $bot->getId()->toString(), 'mode' => $mode, ]);
Getting following response from above code in ChatbotController
PineconeClient: Error calling query: ErrorWithoutStackTrace: PineconeClient: Error calling queryRaw: FetchError: The request failed and the interceptors did not return an alternative response
Other users reported that the vector DB was full, can you double check that?
Other users reported that the vector DB was full, can you double check that?
I am not sure what this means but ChatGPT thinks my vectorDB is redis-1.. Here are my logs for that.. or are you talking about pinecone? If so, how do I check that? Right now it says I am using 0 total vectors.
used_memory:821568 used_memory_human:802.31K used_memory_rss:3649536 used_memory_rss_human:3.48M used_memory_peak:821568 used_memory_peak_human:802.31K total_system_memory:8240795648 total_system_memory_human:7.67G used_memory_lua:37888 used_memory_lua_human:37.00K maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction mem_fragmentation_ratio:4.44 mem_allocator:jemalloc-4.0.3
2023-06-08 06:22:37 1:C 08 Jun 13:22:37.724 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
2023-06-08 06:22:37 .
2023-06-08 06:22:37 _.-__ ''-._ 2023-06-08 06:22:37 _.-
.
. ''-. Redis 3.2.12 (00000000/0) 64 bit
2023-06-08 06:22:37 .-.-```. ```\/ _.,_ ''-._ 2023-06-08 06:22:37 ( ' , .-` | `, ) Running in standalone mode 2023-06-08 06:22:37 |`-._`-...-` __...-.
-.|'` .-'| Port: 6379
2023-06-08 06:22:37 | -._
. / .-' | PID: 1
2023-06-08 06:22:37 -._
-. `-./ .-' .-'
2023-06-08 06:22:37 |`-.-._
-..-' .-'.-'|
2023-06-08 06:22:37 | -._
-. .-'.-' | http://redis.io
2023-06-08 06:22:37 `-. -._
-..-'.-' .-'
2023-06-08 06:22:37 |-._
-._ -.__.-' _.-'_.-'| 2023-06-08 06:22:37 |
-.`-. .-'.-' |
2023-06-08 06:22:37 -._
-._-.__.-'_.-' _.-' 2023-06-08 06:22:37
-._ -.__.-' _.-' 2023-06-08 06:22:37
-. .-'
2023-06-08 06:22:37 -.__.-' 2023-06-08 06:22:37 2023-06-08 06:22:37 1:M 08 Jun 13:22:37.739 # Server started, Redis version 3.2.12 2023-06-08 06:22:37 1:M 08 Jun 13:22:37.741 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. 2023-06-08 06:22:37 1:M 08 Jun 13:22:37.741 * The server is now ready to accept connections on port 6379
Ok , I got it running in windows then received the same error, which makes me think it has something to do with my environment file.
Oh, word on the street is it doesn't work with the free tier of Pinecone
Same issue
2023-06-11 18:32:37 openchat-backend-server-1 | 2023-06-11 23:32:37 ................................................... ~ 0s 2023-06-11 18:32:39 openchat-llm-server-1 | req.body { 2023-06-11 18:32:39 openchat-llm-server-1 | question: 'Hi', 2023-06-11 18:32:39 openchat-llm-server-1 | history: [ 'Hi' ], 2023-06-11 18:32:39 openchat-llm-server-1 | namespace: '4e01288b-e478-4e22-9995-d2c260fa8f1b', 2023-06-11 18:32:39 openchat-llm-server-1 | mode: 'assistant' 2023-06-11 18:32:39 openchat-llm-server-1 | } 2023-06-11 18:32:39 openchat-llm-server-1 | { 2023-06-11 18:32:39 openchat-llm-server-1 | question: 'Hi', 2023-06-11 18:32:39 openchat-llm-server-1 | history: [ 'Hi' ], 2023-06-11 18:32:39 openchat-llm-server-1 | namespace: '4e01288b-e478-4e22-9995-d2c260fa8f1b', 2023-06-11 18:32:39 openchat-llm-server-1 | mode: 'assistant' 2023-06-11 18:32:39 openchat-llm-server-1 | } 2023-06-11 18:32:40 openchat-llm-server-1 | error [ErrorWithoutStackTrace: PineconeClient: Error calling query: ErrorWithoutStackTrace: PineconeClient: Error calling queryRaw: FetchError: The request failed and the interceptors did not return an alternative response] 2023-06-11 18:32:41 openchat-backend-server-1 | 2023-06-11 23:32:38 ................................................... ~ 2s
Getting the same error
I'm also getting the same error
After setting up the chatbot I either get a 500 (Internal Server Error) in the console or the chatbot tells me that it has not context.