ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

What conversation API base url should I use for certain ip and port?

Open yiouyou opened this issue 9 months ago • 3 comments

Describe your problem

Facts:

  1. When run the api locally with base_url https://demo.ragflow.io/v1/, it works fine.
  2. Suppose I can login ragflow through: http://8.140.18.**:8280/login

Question: What base url should I use? I tried 'http://8.140.18.**:8280/v1', it doesn't work unfortunately.

Thanks, Zack

yiouyou avatar May 03 '24 13:05 yiouyou

I think you can only access the demo site by demo. ragflow. io. I am not sure where this 8.140.18 come from.

KevinHuSh avatar May 04 '24 00:05 KevinHuSh

@KevinHuSh "https://demo.ragflow.io" is the local host, not an internet address, how to access the api endpoint from another machine?

yiouyou avatar May 04 '24 02:05 yiouyou

The port number should be 9380 which is used by the back end server.

KevinHuSh avatar May 04 '24 23:05 KevinHuSh