Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
218 views

I’m trying to generate embeddings using the Hugging Face Inference API with LangChain in Python, but I’m running into issues. My goal is to use the API (not local models) to generate embeddings for ...
Jeevan's user avatar
  • 11
0 votes
0 answers
55 views

`# Create Client object with OAuth 2.0 client = tweepy.Client( consumer_key=self.twitter_consumer_key, consumer_secret=self.twitter_consumer_secret, access_token=self.twitter_access_token, ...
Shivs S's user avatar
0 votes
0 answers
41 views

I am trying to parse the content of an API response, which is of the type application/json. However, I am getting the following error: JSONDecodeError: Extra data: line 1 column 2 (char 1) The API ...
maverick-murthy's user avatar
0 votes
1 answer
84 views

I am trying to read a json column from SingleStore database using 'singlestoredb' library in Python. Below is the code. import singlestoredb as s2 import pandas as pd query = """ ...
Anand's user avatar
  • 1
0 votes
0 answers
26 views

I try to read a NDJSON file, but I raise the following error. Traceback (most recent call last): File "C:/Users/json2csv.py", line 5, in <module> json_data = json.loads(data) ...
scraper34863's user avatar
0 votes
0 answers
23 views

I am having trouble converting a basic valid JSON string object into a PHP object using json_decode (it shows as null). I have tried several things but so far still not working. I'm sure I am missing ...
revbiz's user avatar
  • 1
0 votes
2 answers
826 views

I am attempting to build a WPF Application to store Holiday Details in a SQL Server database. I request an address from end user and attempt to GeoCode the address. To do this I make a web request ...
Graeme Baillie's user avatar
-2 votes
1 answer
106 views

I am trying to get json data in a container using following code: import requests import pandas as pd import json from bs4 import BeautifulSoup url = 'https://www.nseindia.com/api/quote-derivative?...
sachin sawant's user avatar
1 vote
0 answers
22 views

I have a file with .csv extension with an XLS file format. Whenever I want to read it via python (openpyxl or xlrd) it gives a UnidecodeError. When I manually save the file as .csv than I can read it ...
Keun's user avatar
  • 11
0 votes
1 answer
878 views

I'm trying to make a tkinter program that works with chat gpt. When the bot is supposed to generate a response, I get these errors (I've only included the significant parts of the long error response):...
F_Sh's user avatar
  • 1
0 votes
1 answer
78 views

I use PHP and would like to retrieve data from url, json decode it and pass all entries with its field data into an array. The url is out of my control and contains data in a format that looks like ...
Niklas Stenström's user avatar
0 votes
2 answers
71 views

I have been using the following code to scrape a table from a website and put it into an Excel file for a couple of years. All of a sudden, it has stopped working and I can't figure out why. Here's ...
janalytics's user avatar
-2 votes
1 answer
248 views

here my full code before the question, async function fetchApi() { const options = { method: "POST", headers: { Authorization: auth, "Content-Type": "...
28282733728299919's user avatar
0 votes
3 answers
2k views

Goal: Establish connection to Confluence page, via. atlassian-python-api==3.41.1. Configuration: Username - e-mail address Password - API key (regenerated many times) Permissions: Contacted admins ...
DanielBell99's user avatar
  • 2,055
0 votes
2 answers
378 views

I’m trying to add records in a batch, but after I add my objects to the batch, I always get a JSONDecodeError when I assume the batch is being sent to my Weaviate class. client.batch.configure(...
lrthistlethwaite's user avatar
0 votes
1 answer
33 views

I recently returned to dart programs with the flutter framework and I am not able to resolve a problem from the response I receive from the laragon database. I'm having a problem with response.body ...
Rafael Reis's user avatar
1 vote
2 answers
732 views

I am still new to building projects using rails/react I am using devise to authenticate the user however, when I login I am getting an internal server error that says JWT::DecodeError (OpenSSL 3.0 ...
CoolGuy's user avatar
  • 139
0 votes
0 answers
268 views

I got an error after sending contact form and the message doesn't come in my admin panel. Any ideas? {"error":true,"message":"404 not found!"} PHP version: 7.3.33 ...
fullfixx's user avatar
0 votes
0 answers
443 views

I am currently using the json module to load some JSON content and I need to exclude NaN values. The standard way to do this seems to be to implement a parse_constant method and then pass this method ...
Olivier Desenfans's user avatar
0 votes
0 answers
586 views

I am trying to access some JSON data from my views.py page but it seems i'm sending empty strings? My JS code document.querySelector('#compose-form').onsubmit = () => { const recipients = ...
jeddah's user avatar
  • 49
0 votes
1 answer
114 views

I am writing a program that uses HTTP to get a list of themes from a server, and when transforming the data from JSON I am getting this error. TypeError: map[$_get] is not a function packages/outlook/...
rvy's user avatar
  • 36
-2 votes
1 answer
117 views

I have a json file where each entry has a corresponding list. This is what it looks like: { "/home/onur/PycharmProjects/file-tagging/data/world_building_budget.txt": [], "/home/...
mchd's user avatar
  • 3,213