landhu

Results 8 comments of landhu

@lxf920125 能分享一下你的服务及exe吗?正好也有这样的需求

I had same issue. But I found if not add autoMerge=true option. It can be fixed. you can try it.

@hurenjun I think you can check https://docs.ragas.io/en/stable/howtos/customisations/bring-your-own-llm-or-embs.html Also, aliyun API compatible with Openai. you could replace base_url.

Thanks Very much. If I just want evaluate like simple demo: ` from datasets import Dataset import os from ragas import evaluate from ragas.metrics import faithfulness, answer_correctness os.environ["OPENAI_API_KEY"] = "your-openai-key"...

I can answer this question. Yes, can be use azure openai `from langchain_openai.chat_models import AzureChatOpenAI azure = AzureChatOpenAI( openai_api_version=xxxx, azure_endpoint=xxxx, azure_deployment=xxxx, model=xxxx, validate_base_url=False, api_key="your key" ) agent1 = Agent( task=task,...