-
-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Langchain had an issue. #184
Labels
bug
Something isn't working
Comments
send the code |
same issue. Desktop (please complete the following information): OS: [e.g. iOS] mac os Here is the code from Case 4: Extracting information using Groq: from scrapegraphai.graphs import SmartScraperGraph
from scrapegraphai.utils import prettify_exec_info
import os
groq_key = os.getenv("GROQ_API_KEY")
graph_config = {
"llm": {
"model": "groq/gemma-7b-it",
"api_key": groq_key,
"temperature": 0
},
"embeddings": {
"model": "ollama/nomic-embed-text",
"temperature": 0,
"base_url": "http://localhost:11434",
},
"headless": False
}
smart_scraper_graph = SmartScraperGraph(
prompt="List me all the projects with their description and the author.",
source="https://perinim.github.io/projects",
config=graph_config
)
result = smart_scraper_graph.run()
print(result) Erro information output:
|
hi, please try the new beta |
This is the code that gave me the error:
|
Hi, we fixed this problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A clear and concise description of what the bug is.
Langchain had an issue outputting valid json; the script proceeded to freak out and crash.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected to be able to scrape the page and get some jsonl; instead langchain freaked out
Here's an output of the error:
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: