Notebooks
E
Elastic
Bedrock Anthropic Elasticsearch Client

Bedrock Anthropic Elasticsearch Client

openai-chatgptlangchain-pythonchatgptgenaielasticsearchelasticopenaiAIplayground-exampleschatlogvectordatabasenotebooksPythonsearchgenaistackvectorelasticsearch-labslangchainapplications

Playground: RAG with Anthropic Claude 3 Models via Bedrock & Elasticsearch Python Client

Open In Colab

[4]
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
poetry 1.6.1 requires build<0.11.0,>=0.10.0, but you have build 1.0.3 which is incompatible.
poetry 1.6.1 requires jsonschema<4.18.0,>=4.10.0, but you have jsonschema 4.19.1 which is incompatible.

[notice] A new release of pip is available: 24.0 -> 24.1.1
[notice] To update, run: pip install --upgrade pip

Example Integration code

To adapt this example for your use-case:

  • Update your connection details in the es_client
  • Replace the es_query with the query suggested in Playground
  • Replace the index_source_fields with the fields you want to use for context, per index.
  • Update the prompt to reflect the Plaground prompt
[2]
This document appears to be a set of company policies and guidelines related to:

1. A full-time work-from-home policy [Position 1-31]
2. A vacation policy [Position 32-56]
3. A career leveling matrix for software engineers [Position 57-end]

The work-from-home policy outlines the purpose, scope, eligibility, equipment/resources, workspace requirements, communication expectations, work hours, performance standards, time tracking, confidentiality, and health/well-being considerations for employees working remotely full-time.

The vacation policy covers vacation accrual rates, scheduling procedures, vacation pay calculations, handling unplanned absences, and payouts for unused vacation time upon termination.

The career leveling matrix defines the roles, responsibilities, and required skills/experience for three levels of software engineering positions: Junior Software Engineer, Senior Software Engineer, and Principal Software Engineer. It serves as a framework for employee development, performance evaluations, and career progression within the software engineering function.