Comments (1)
Hello, It appears that you are iterating over strings ([x['id'] for x in meta_batch]) instead of objects. So, when you try to access x['id'], you're encountering an error because x is being treated as a string.
The error message ""string indices must be integers"" is indicating this issue. It's likely that you provided the "new_data" object in an incorrect type or shape.
To resolve this, you need to update the object to have the correct format: a list of dictionaries containing the 'id' field. This adjustment should help you overcome the error you're facing.
from examples.
Related Issues (20)
- [Bug] Example stops with error when running with GPU (CUDA) "Expected all tensors to be on the same device, but found at least two devices"
- Error with Langchain demo notebook HOT 3
- [Bug] Missing documentation on creation of ndarray for serialization HOT 3
- [Bug] Indexing problem with langchain retrieval augmentation
- Out of dataset answer and reference link provided for RAG example HOT 1
- Can I use these examples to teach my paid membership students? HOT 1
- Suggest example notebook update. Library moved. HOT 2
- [Bug] mpt-30b-chat answering questions based on langchain does not work
- [bug] Notebook link incorrect : semantic search notebook HOT 1
- Satellite image search notebook missing HOT 1
- Dataset Generation
- BUG in 09-langchain-streaming.ipynb calling /chat with GET instead of POST
- [Bug] Incorrect link to pinecone-datasets generation
- [Bug] Error creating index in Semantic Search notebook
- [Bug] canopy-sdk version in notebook is not available
- [Bug] 'threading' has no attribute '_Condition' on 05-langchain-retrieval-augmentation.ipynb HOT 1
- Confusing claim in "Langchain AI Handbook" - Chapter 6
- Question on Hybrid search ecomm example HOT 1
- Remove references to ServiceContext HOT 1
- [Bug] Issue with learn/generation/llm-field-guide/llama-2/llama-2-13b-retrievalqa.ipynb
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.