Find answers from the community

S
SUBHAM
Offline, last seen last month
Joined September 25, 2024
Hey team, I am getting this new kind of error with llama_index PromptTemplate package. Can anyone help with this?
2 comments
L
S
SUBHAM
·

V0.10

Hey team, Unable to import OpenAIEmbedding from llama_index.embeddings

I am getting this error when I am upgrading llamaindex from 0.9.16 version to 0.10.25. Can someone please help?
16 comments
S
W
Hey anyone can help me in understanding the difference in creating Knowledge Graph Index with and without "include_embeddings" field
index = KnowledgeGraphIndex.from_documents(
documents,
max_triplets_per_chunk=2,
storage_context=storage_context,
)
4 comments
L
S
Hi all,

I have written an article on how you can combinedly use OpenAI and LMstudio together using Llamaindex. This type of approach ensures that your system is resilient and 100% up all time. I have also attached the starter code that will help you get started.
https://www.linkedin.com/posts/subham-kundu-2746b515b_llms-generativeai-activity-7180126243332255744-FmnX
1 comment
T
Recently I am getting this error for llama-index when it is used aws lambda.

The error is happening mainly due to punkt_download
After going through the llamaindex code, the error is happening due to this following dld
https://github.com/run-llama/llama_index/blob/main/llama-index-core/llama_index/core/utils.py
12 comments
L
S
Earlier it used to come in this format

{'id': 'chatcmpl-9osUnurZj4vwCnzszSpsYpS3ljbJf', 'choices': [Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='{\n "result": "Show me open vulnerabilities",\n "date_detected": false,\n "from_date": "",\n "to_date": "",\n "from_now": false,\n "duration": ""\n}', role='assistant', function_call=None, tool_calls=None), content_filter_results={'hate': {'filtered': False, 'severity': 'safe'}, 'self_harm': {'filtered': False, 'severity': 'safe'}, 'sexual': {'filtered': False, 'severity': 'safe'}, 'violence': {'filtered': False, 'severity': 'safe'}})], 'created': 1721912909, 'model': 'gpt-35-turbo-16k', 'object': 'chat.completion', 'system_fingerprint': None, 'usage': CompletionUsage(completion_tokens=43, prompt_tokens=755, total_tokens=798), 'prompt_filter_results': [{'prompt_index': 0, 'content_filter_results': {'hate': {'filtered': False, 'severity': 'safe'}, 'self_harm': {'filtered': False, 'severity': 'safe'}, 'sexual': {'filtered': False, 'severity': 'safe'}, 'violence': {'filtered': False, 'severity': 'safe'}}}]}
4 comments
L
S
Hello everyone,
I have written a post about the patterns that has emerged in building LLM system based on the hands on experience in this field in the last few months. Please do have a read. I hope this helps

https://www.linkedin.com/posts/subham-kundu-2746b515b_generativeai-llm-activity-7184988684541116416-3rIR
1 comment
T
S
SUBHAM
·

Question:

Question:

I am getting an error for the llama-index mistral module

I am writing
llm.chat(ChatMessage(role="system", content="You are CEO of MistralAI."),
ChatMessage(role="user", content="Tell me the story about La plateforme"))
3 comments
L
S