Skip to content

Commit b112b90

Browse files
updated configurations
- updated Llama model ocid id - removed GenAI endpoint URL - add general instructions for better understanding
1 parent d83687e commit b112b90

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

ai/generative-ai-service/sentiment+categorization/files/backend/feedback_agent.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from typing import List
44

55
from langchain_community.chat_models.oci_generative_ai import ChatOCIGenAI
6-
from langchain_community.embeddings import OCIGenAIEmbeddings
76
from langchain_core.messages import HumanMessage, SystemMessage
87
from langchain_core.pydantic_v1 import BaseModel
98
from langgraph.checkpoint.memory import MemorySaver
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11

22
# Common Configuration
3-
COMPARTMENT_ID = "ocid1.compartment.oc1..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
3+
COMPARTMENT_ID = "ocid1.compartment.oc1..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" # add here your compartment ocid id
44
DIRECTORY = "data"
5-
AUTH_TYPE = "API_KEY"
5+
AUTH_TYPE = "API_KEY" # add here your authentication type
66
CONFIG_PROFILE = "DEFAULT"
7-
ENDPOINT = "https://inference.generativeai.eu-frankfurt-1.oci.oraclecloud.com"
7+
ENDPOINT = "" # add here your generative ai endpoint
88

99
# COHERE data
1010
PROVIDER_COHERE = "cohere"
11-
GENERATE_MODEL_COHERE = "cohere.command-r-plus-08-2024"
11+
GENERATE_MODEL_COHERE = "cohere.command-r-plus-08-2024" # add here your model ocid id
1212
# LLAMA data
1313
PROVIDER_LLAMA = "meta"
14-
GENERATE_MODEL_LLAMA_33= "ocid1.generativeaimodel.oc1.eu-frankfurt-1.amaaaaaask7dceya4tdabclcsqbc3yj2mozvvqoq5ccmliv3354hfu3mx6bq"
14+
GENERATE_MODEL_LLAMA_33= "meta.llama-3.3-70b-instruct" # add here your model ocid id
1515

0 commit comments

Comments
 (0)