Manage ragflow-sdk with poetry (#3115)

### What problem does this PR solve?

Manage ragflow-sdk with poetry
### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu
2024-10-30 21:13:59 +08:00
committed by GitHub
parent 48688afa5e
commit 9a5ff320f3
18 changed files with 208 additions and 88 deletions

View File

@@ -1,4 +1,4 @@
from ragflow import RAGFlow, Chat
from ragflow_sdk import RAGFlow
HOST_ADDRESS = 'http://127.0.0.1:9380'
def test_create_chat_with_name(get_api_key_fixture):

View File

@@ -1,4 +1,4 @@
from ragflow import RAGFlow
from ragflow_sdk import RAGFlow
import random
import pytest

View File

@@ -1,4 +1,4 @@
from ragflow import RAGFlow, DataSet, Document, Chunk
from ragflow_sdk import RAGFlow, DataSet, Document, Chunk
HOST_ADDRESS = 'http://127.0.0.1:9380'

View File

@@ -1,5 +1,4 @@
from ragflow import RAGFlow,Session
import time
from ragflow_sdk import RAGFlow
HOST_ADDRESS = 'http://127.0.0.1:9380'