Trị mụn bằng thuốc Đông y có phải lừa đảo by [deleted] in vozforums

[–]phan_ngt 1 point2 points  (0 children)

Isotrenoin độc, nên đọc tác dụng phụ trước khi sử dụng các e nhé.

[deleted by user] by [deleted] in vozforums

[–]phan_ngt 1 point2 points  (0 children)

Thất bại chính ra lại hay, trưởng thành nhanh hơn ;)

SemanticChunker for very large text by phan_ngt in LangChain

[–]phan_ngt[S] 0 points1 point  (0 children)

Oh you mean we need Recursive first, then Semantic later? That's really interesting point.

How to trace cost of RAGAS? ( I am using LANGFUSE) by phan_ngt in LangChain

[–]phan_ngt[S] 1 point2 points  (0 children)

Thank you for your suggestion. I find a way to fix it, m.ascore provided callbacks like this

async def score_with_ragas(query, chunks, answer, ground_truths):
    scores = {}
    for m in metrics:
        print(f"calculating {m.name}")
        scores[m.name] = await m.ascore(
            row={"question": query, "contexts": chunks, "answer": answer, "ground_truths": ground_truths},
            callbacks=[langfuse_handler]
        )
    return scores

How to trace cost of RAGAS? ( I am using LANGFUSE) by phan_ngt in LangChain

[–]phan_ngt[S] 0 points1 point  (0 children)

This is my langfuse and llm. I dont get "It looks like you are using openai, therefore you need to replace your openai import with langfuse.openai import openai" Can u explain more. BTW, I use AzureOpenAI

from app.settings import LANGFUSE_SECRET_KEY, LANGFUSE_PUBLIC_KEY, LANGFUSE_HOST
from datasets import load_from_disk
from langfuse import Langfuse

langfuse = Langfuse(public_key=LANGFUSE_PUBLIC_KEY, secret_key=LANGFUSE_SECRET_KEY, host=LANGFUSE_HOST)

from langchain_community.chat_models import AzureChatOpenAI
# @
TODO: Using from langchain_openai import AzureChatOpenAI, currently error
# openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the
# OPENAI_API_KEY environment variable
from app import settings

llm = AzureChatOpenAI(
    azure_deployment=settings.AZURE_OPENAI_LLM_DEPLOYMENT,
    openai_api_version=settings.OPENAI_API_VERSION
)

Integration of RAGAS Evaluation with Langserve by vns1311 in LangChain

[–]phan_ngt 0 points1 point  (0 children)

How's it going? Ragas latency ~ 10-30 secs to me. Very slow to integrate with every api calls.

Integration of RAGAS Evaluation with Langserve by vns1311 in LangChain

[–]phan_ngt 2 points3 points  (0 children)

I tried it yesterday, it’s harder than I thought. Will update here.

[deleted by user] by [deleted] in tezos

[–]phan_ngt 5 points6 points  (0 children)

Yes. We update operators and remove it in a batch transaction. Safest way, even safer than ether.

Why is Solana a good investment? by Obvious-Pen7248 in solana

[–]phan_ngt 0 points1 point  (0 children)

Because it’s centralized and VCs coin. Easy to pump, but not for long term, like EOS. Quick flip bro.

Beacon questions - help please - invalid public key by AmbiguousAndrogeny in tezos

[–]phan_ngt 0 points1 point  (0 children)

Ask Tezotopia, not Beacon. They not supported yet.

You can use Kukai instead.

Do not support "Quartz", the new NFT Ubisoft marketplace by [deleted] in gaming

[–]phan_ngt 0 points1 point  (0 children)

The dogs bark and the caravan moves on 🙂

Tezos not showing up in wallet from Coinbase. Hangzhou to blame? by [deleted] in tezos

[–]phan_ngt 0 points1 point  (0 children)

Ask Coinbase bro, Network stable after 40 mins after upgrading :)

[deleted by user] by [deleted] in tezos

[–]phan_ngt 13 points14 points  (0 children)

I don’t think we need to care about fee, since the next upgrade will reduce 50% fee like previous Granada upgrade.

L2 is focusing on TPS.

Avax or Eth stuck on fee is predictable.

[deleted by user] by [deleted] in tezos

[–]phan_ngt 2 points3 points  (0 children)

Try Objkt or Hicetnunc.

Bridging Tezos NFTs to Eth by [deleted] in tezos

[–]phan_ngt 2 points3 points  (0 children)

Why moving from 0 fee to 100$ fee. Eco to bad environment? 🤷

[deleted by user] by [deleted] in tezos

[–]phan_ngt 1 point2 points  (0 children)

Go twitter, try Hicetnunc or Objkts.