Comments (2)
I don't really see how tiktoken is the issue here, llamaindex depends on tiktoken >=0.3.3
Here's your test as a pyproject.toml
[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = ["test"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
langchain = { version = ">=0.1.5,<1.0", extras = ["openai"], optional = true }
langchain-openai = ">=0.1.3,<1.0"
llama-index = { version = ">=0.10.4,<1.0", optional = true}
llama-index-embeddings-azure-openai = { version = ">=0.1.1,<1.0", optional = true}
llama-index-llms-azure-openai = { version = ">=0.1.1,<1.0", optional = true}
llama-index-embeddings-langchain = { version = ">=0.1.1,<1.0", optional = true}
llama-index-llms-langchain = { version = ">=0.1.1,<1.0", optional = true}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
And then running poetry shell
-> poetry lock
-> poetry install
works fine. I also tried removing all the optionals and rerunning the process, it also works fine.
(btw, not sure the reason for using langchain here, llamaindex has an openai llm as well)
from llama_index.
Related Issues (20)
- [Question]: Retriever search depth in a custom node relationship environment HOT 4
- [Bug]: function_call does not generate langfuse subspans for a custom AsyncBaseTool class HOT 7
- [Bug]: AttributeError: 'Anthropic' object has no attribute 'beta' HOT 6
- [Bug]: ReplicateError: Unauthenticated HOT 3
- [Bug]: Unable to instantiate LiteLLM LlamaIndex Object HOT 2
- [Bug]: Bedrock cohere still not working as expected HOT 1
- [Feature Request]: support of faiss.IndexIVFFlat
- [Question]: How do I prioritize exact matches in my retriever? (BM25 or any other) HOT 1
- [Bug]: Querying by specific doc_ids in the vector db not working properly HOT 4
- [Bug]: TypeError: expected str instance, int found when calling lazy_load_data method in llama_index/readers/mongodb/base.py HOT 1
- [Question]: How big of a VectorStore is too big ? HOT 1
- [Bug]: Function Tool not being hit when it's a SubQuestionQueryEngine in OpenAIAgent HOT 3
- [Feature Request]: Improve ElasticSearch metadata filtering handling
- [Question]: cannot download sharepoint file HOT 2
- [Question]: Connecting llamaindex to aoss opensearch on aws HOT 7
- [Bug]: 'await' used outside function HOT 4
- [Question]: TokenCountingHandler is not working for Multimodal HOT 3
- [Question]: how to use faiss.IndexIVFPQ? HOT 1
- [Question]: Why is JSONalyze using `columns_dict` of the `sqlite_utils`? HOT 2
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 llama_index.