Replies: 5 comments 3 replies
-
Hey @mraguth! I see you're asking about providing credit card details for using Langsmith. I'm a bot that specializes in solving bugs, answering technical questions, and gathering engineering knowledge. For questions about billing or account details, you might want to reach out to the Dosu Team. They'll be able to help you out! |
Beta Was this translation helpful? Give feedback.
-
@dosu Can you give me a simple configuration for access Langsmith while I am running my langchain or langgraph please? |
Beta Was this translation helpful? Give feedback.
-
Check this out:
But always getting the following:
|
Beta Was this translation helpful? Give feedback.
-
me too import openai
from langsmith.wrappers import wrap_openai
from langsmith import traceable
# Auto-trace LLM calls in-context
client = wrap_openai(openai.Client())
@traceable # Auto-trace this function
def pipeline(user_input: str):
result = client.chat.completions.create(
messages=[{"role": "user", "content": user_input}],
model="gpt-3.5-turbo"
)
return result.choices[0].message.content
pipeline("Hello, world!")
# Out: Hello there! How can I assist you today? python311/lib/python3.11/site-packages/langsmith/client.py:354: LangSmithMissingAPIKeyWarning: API key must be provided when using hosted LangSmith API |
Beta Was this translation helpful? Give feedback.
-
Generated the api key in smith.langchain website: Getting the same error again and again.. You are an assistant for question-answering tasks. Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know. Use three sentences maximum and keep the answer concise. can you please help us out here? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
USER_AGENT environment variable not set, consider setting it to identify your requests.
C:\Users\a024377\AppData\Roaming\Python\Python312\site-packages\langsmith\client.py:322: LangSmithMissingAPIKeyWarning: API key must be provided when using hosted LangSmith API
System Info
Name: langchain
Version: 0.2.16
Beta Was this translation helpful? Give feedback.
All reactions