-
Notifications
You must be signed in to change notification settings - Fork 910
Simple example for an agentic flow (Current Bengaluru talk) #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,39 @@ | ||||||
# Setting up connections to OpenAI and Pinecone | ||||||
|
||||||
Documentation reference: https://docs.confluent.io/confluent-cli/current/command-reference/flink/connection/confluent_flink_connection_create.html | ||||||
|
||||||
|
||||||
## Pinecone | ||||||
|
||||||
```bash | ||||||
confluent flink connection create pinecone-connection --environment your-confluent-environment-name \ | ||||||
--cloud AWS \ | ||||||
--region us-east-1 \ | ||||||
--type pinecone \ | ||||||
--endpoint https://change-with-your-pinecone-endpoint.pinecone.io/query \ | ||||||
--api-key change-with-your-pinecone-key | ||||||
``` | ||||||
|
||||||
## OpenAI embedding | ||||||
|
||||||
```bash | ||||||
confluent flink connection create openai-connection-vector-embeddings \ | ||||||
--environment your-confluent-environment-name \ | ||||||
|
--environment your-confluent-environment-name \ | |
--environment your-confluent-environment-id \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, good catch!
sandonjacobs marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,295 @@ | ||||||
------ ##### SETTING UP TABLES ##### ------- | ||||||
|
||||||
---------------------------------- INPUT TOPIC ------------------------------------------------------------------------------------------------------------- | ||||||
|
||||||
-------- Input table for customer messages from the chat | ||||||
|
||||||
CREATE TABLE customer_message | ||||||
( | ||||||
conversation_id string NOT NULL, | ||||||
customer_id string NOT NULL, | ||||||
cusomer_message string NOT NULL, | ||||||
|
cusomer_message string NOT NULL, | |
customer_message string NOT NULL, |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
total nit but suggest all caps data types throughout this PR. BIGINT
and STRING
everywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point, replaced
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.